Hello,
is there a way to add color to specular Map ?
i mean it only seems to influence the intensity of the specularity, not mixing any color
i checked the lighting.frag and vert, and it should be working
[java]
gl_FragColor.rgb = AmbientSum * diffuseColor.rgb +
DiffuseSum.rgb * diffuseColor.rgb * vec3(light.x) +
SpecularSum2.rgb * specularColor.rgb * vec3(light.y); <-- is this line turning the color to gray scale ?
[/java]
is this a known bug ?
or maybe i am doing something wrong
[java]
Material My Material : Common/MatDefs/Light/Lighting.j3md {
MaterialParameters {
DiffuseMap : Flip Textures/Droid_diffuse.png
GlowMap : Flip Textures/Droid_Glow.png
NormalMap : Flip Textures/Droid_Normals.png
UseMaterialColors : true
Diffuse : 1.0 1.0 1.0 1.0
SpecularMap : Flip Textures/Droid_Specular.png <--------- this one 's got color on it
Shininess : 50.0
Specular : 1.0 1.0 1.0 1.0
}
AdditionalRenderState {
}
}
[/java]
if i use specular color it works, but it is the same color for the whole object
it seems to work with the minaert option turned on, but i get a weird looking material
also what is wardIso ?
thx