[Implemented] shininess
Posted: Fri Mar 06, 2009 12:49 pm
Hai!
Would it be possible to have a way of setting the shininess of a material in Ogre? I know we have a specular command, but it has the essential shininess component missing.
Specular without the shininess component is quite pointless. It would be like having having RGB() command without the blue component. RG()
In a ogre material file the shininess value is on the end of the specular command:
specular 1.0 1.0 1.0 12.5
So perhaps we could have:
MaterialSpecularColor(#Material, Color,Shininess)
Example:
MaterialSpecularColor(1,RGB(255,255,255),12.5)
ps - Keep up the great work!
Would it be possible to have a way of setting the shininess of a material in Ogre? I know we have a specular command, but it has the essential shininess component missing.
Specular without the shininess component is quite pointless. It would be like having having RGB() command without the blue component. RG()
In a ogre material file the shininess value is on the end of the specular command:
specular 1.0 1.0 1.0 12.5
So perhaps we could have:
MaterialSpecularColor(#Material, Color,Shininess)
Example:
MaterialSpecularColor(1,RGB(255,255,255),12.5)
ps - Keep up the great work!