OpenGL2: Remove specular ambient.

This commit is contained in:
SmileTheory 2016-01-15 02:46:30 -08:00
parent 42dee17663
commit 63e45fab9a

View file

@ -363,7 +363,7 @@ void main()
reflectance = CalcDiffuse(diffuse.rgb, EH, NH, roughness);
gl_FragColor.rgb = lightColor * reflectance * (attenuation * NL);
gl_FragColor.rgb += ambientColor * (diffuse.rgb + specular.rgb);
gl_FragColor.rgb += ambientColor * diffuse.rgb;
#if defined(USE_CUBEMAP)
reflectance = EnvironmentBRDF(roughness, NE, specular.rgb);