mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 09:33:36 +02:00
remove gl_FrontMaterial
This commit is contained in:
parent
9496b6c024
commit
96e83e3ed4
3 changed files with 9 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
Loading…
Reference in a new issue