Using OGRE material or two textures?
Posted: Sun Dec 19, 2004 03:43
I know how to put an OGRE texture to an Image and have it rendered in CEGUI windows. However, the functionality I am looking for now is using more complex texture combinations like you might find in a material script.
What I have is a OGRE material with two texture layers. The first texture layer is a video being decoded to an alpha channel of a texture, and the second texture layer is a different video being decoded to RGB channels. And the two textures are blended together. This allows one to use another video as a dynamic alpha mask to alpha out parts of the other movie.
Now, this works well on OGRE overlays and meshes. Though, I would like to apply it to an Imageset. Any suggestions on how to combine two textures into a Window/imageset/staticimage, or how to get an OGRE material working on an Imageset?
What I have is a OGRE material with two texture layers. The first texture layer is a video being decoded to an alpha channel of a texture, and the second texture layer is a different video being decoded to RGB channels. And the two textures are blended together. This allows one to use another video as a dynamic alpha mask to alpha out parts of the other movie.
Now, this works well on OGRE overlays and meshes. Though, I would like to apply it to an Imageset. Any suggestions on how to combine two textures into a Window/imageset/staticimage, or how to get an OGRE material working on an Imageset?