Ogre material scripts; how do I give a technique multiple lod_indexes?
- by BlueNovember
I have an Ogre material script that defines 4 rendering techniques. 1 using GLSL shaders, then 3 others that just use textures of different resolutions.
I want to use the GLSL shader unconditionally if the graphics card supports it, and the other 3 textures depending on camera distance.
At the moment my script is;
material foo
{
lod_distances…