ahmadi
10-05-2009 13:15:03
Hi
How can i make 6 techniques in one material?
I very tried to do it with oFusion but im not success! what must i do?
Here is my material :
Note : If you want know why i need 6 techniques, please see following link:
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=49821
Thanks for any help.
How can i make 6 techniques in one material?
I very tried to do it with oFusion but im not success! what must i do?
Here is my material :
material LODMat
{
lod_distances 90
technique
{
scheme High
pass
{
ambient 1 1 1 1
diffuse 1 1 1 1
specular 1 1 1 1 10
emissive 1 1 1 1
}
}
technique
{
scheme Medium
lod_index 0
pass
{
ambient 1 0 0 1
diffuse 1 0 0 1
specular 1 0 0 1 10
emissive 0.5 0.5 0.5 0.5
}
}
technique
{
scheme Low
lod_index 0
pass
{
ambient 0 1 0 1
diffuse 0 1 0 1
specular 0 1 0 1 10
emissive 0.5 0.5 0.5 0.5
}
}
technique
{
lod_index 1
scheme Low
pass
{
ambient 1 0 1 1
diffuse 1 0 1 1
specular 1 0 1 1 10
emissive 0.5 0.5 0.5 0.5
}
}
technique
{
lod_index 1
scheme Medium
pass
{
ambient 0 1 1 1
diffuse 0 1 1 1
specular 0 1 1 1 10
emissive 0.5 0.5 0.5 0.5
}
}
technique
{
lod_index 1
scheme High
pass
{
ambient 1 1 0 1
diffuse 1 1 0 1
specular 1 1 0 1 10
emissive 0.5 0.5 0.5 0.5
}
}
}
Note : If you want know why i need 6 techniques, please see following link:
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=49821
Thanks for any help.