I have two 640x480 jpgs that I want to use as billboard textures on a plane mesh.
After X seconds I want tex1 to fade to tex2 on the plane, sort of like a slide transition in MS Power Point. Is something like this possible with Ogre material scripts or through programming?
I realize Cg could probably do it, but I don't want to mess with that unless I absolutely have to.
Transitioning between materials.
- haffax
- OGRE Retired Moderator

- Posts: 4823
- Joined: Fri Jun 18, 2004 1:40 pm
- Location: Berlin, Germany
- x 8
- Contact:
Having changing images as a texture unit is indeed possible using scripts.
For how see the manual: http://www.ogre3d.org/docs/manual/manual_19.html#SEC59
For more flexibility you can always change images programatically too, maybe for better blending or such. Look at the various ogre demos and the API docs on how to do it. Namely DynTex and RenderToTexture demos might provide useful example code.
For how see the manual: http://www.ogre3d.org/docs/manual/manual_19.html#SEC59
For more flexibility you can always change images programatically too, maybe for better blending or such. Look at the various ogre demos and the API docs on how to do it. Namely DynTex and RenderToTexture demos might provide useful example code.