diff options
author | Michael Pohoreski (Ptolemy Linden) <ptolemy@lindenlab.com> | 2019-12-18 01:48:44 +0000 |
---|---|---|
committer | Michael Pohoreski (Ptolemy Linden) <ptolemy@lindenlab.com> | 2019-12-18 01:48:44 +0000 |
commit | 874368d4f30b59640e843d7e30c612dd0d0baa75 (patch) | |
tree | 6d707caaa35b9507d23df090c6fda0f5a68b4cc5 /indra/newview/app_settings/shaders | |
parent | 581a8e278864792bddfff6bfe70878878c5dea1b (diff) |
Future-proof Full Bright
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/materialF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl index 2b5fa3979b..1be1595a47 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl @@ -277,7 +277,7 @@ void main() final_color.a = max(final_color.a, emissive_brightness); // Texture - // [x] Full Bright (emissive_brightness > 0.0) + // [x] Full Bright (emissive_brightness >= 1.0) // Shininess (specular) // [X] Texture // Environment Intensity = 1 @@ -295,7 +295,7 @@ void main() vec4 final_normal = vec4(abnormal, env_intensity, 0.0); #ifdef HAS_SPECULAR_MAP - if( emissive_brightness > 0.0) + if( emissive_brightness >= 1.0) { float ei = env_intensity*0.5 + 0.5; final_normal = vec4(abnormal, ei, 0.0); |