pixel shader v.1.1 vs. v.2.0

float Ks = 3.0f
//part of vertex shader
float4 diffuseContrib = diff* Kd* lightColor ;
float4 specularContrib = spec* Ks* lightColor ;
float4 result = diffuseContrib + specularContrib ;

'Ks' is used to intensify the specular reflection but the specular contribution seems to be dependent on the version of pixel shader. Only when the version is newer than 2.0, the specular contribution appears to be multiplied.

1 comment:

Spartin24 said...
This comment has been removed by the author.