mirror of
https://github.com/UberGames/ioef.git
synced 2025-02-17 09:22:03 +00:00
OpenGL2: Remove specular ambient.
This commit is contained in:
parent
42dee17663
commit
63e45fab9a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue