remove gl_FrontMaterial

This commit is contained in:
ZappoMan 2015-07-23 14:11:28 -07:00
parent 9496b6c024
commit 96e83e3ed4
3 changed files with 9 additions and 9 deletions

View file

@ -21,7 +21,7 @@ void main(void) {
packDeferredFragment(
normalize(interpolatedNormal.xyz),
glowIntensity,
vec3(0,0,1), //gl_Color.rgb,
vec3(0,0,1), //gl_FrontMaterial.specular.rgb,
1); //gl_FrontMaterial.shininess);
gl_Color.rgb,
vec3(0.1),
10);
}

View file

@ -25,8 +25,8 @@ void main(void) {
packDeferredFragment(
normalize(interpolatedNormal.xyz),
glowIntensity, // glowIntensity * texel.a,
gl_Color.rgb, // gl_Color.rgb * texel.rgb,
gl_FrontMaterial.specular.rgb,
gl_FrontMaterial.shininess);
glowIntensity * texel.a,
gl_Color.rgb * texel.rgb,
vec3(0.1),
10);
}

View file

@ -27,7 +27,7 @@ void main(void) {
normalize(interpolatedNormal.xyz),
glowIntensity * texel.a,
gl_Color.rgb,
gl_FrontMaterial.specular.rgb,
gl_FrontMaterial.shininess,
vec3(0.1),
10,
texel.rgb);
}