[iortcw] 10/152: All: Rend2: Remove specular ambient

Simon McVittie smcv at debian.org
Fri Sep 8 10:39:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.5a
in repository iortcw.

commit 8377ce7aff93b2908b1421b1cede1f4ce2743fda
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Sat Jan 16 09:24:30 2016 -0500

    All: Rend2: Remove specular ambient
---
 MP/code/rend2/glsl/lightall_fp.glsl | 2 +-
 SP/code/rend2/glsl/lightall_fp.glsl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/rend2/glsl/lightall_fp.glsl b/MP/code/rend2/glsl/lightall_fp.glsl
index 17dc9fc..b8f3985 100644
--- a/MP/code/rend2/glsl/lightall_fp.glsl
+++ b/MP/code/rend2/glsl/lightall_fp.glsl
@@ -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);
diff --git a/SP/code/rend2/glsl/lightall_fp.glsl b/SP/code/rend2/glsl/lightall_fp.glsl
index 17dc9fc..b8f3985 100644
--- a/SP/code/rend2/glsl/lightall_fp.glsl
+++ b/SP/code/rend2/glsl/lightall_fp.glsl
@@ -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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list