diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2020-06-29 17:33:19 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2020-06-29 18:22:29 -0700 |
commit | a2ea1aac043dcaa8a302de88a157662df4c47cb0 (patch) | |
tree | 188d330eb2dbfd0c9235a330136470b700d0a82b /indra/newview/app_settings/shaders/class1/lighting/lightFullbrightShinyF.glsl | |
parent | 6ea04e8f5ab18b4a9863acde845d34531199812a (diff) |
SL-9632 Add note about shiny HUD objects that will be fullbright for both ALM ON and OFF
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/lighting/lightFullbrightShinyF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/lighting/lightFullbrightShinyF.glsl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/lighting/lightFullbrightShinyF.glsl b/indra/newview/app_settings/shaders/class1/lighting/lightFullbrightShinyF.glsl index 3eaaa41866..6f7e777d23 100644 --- a/indra/newview/app_settings/shaders/class1/lighting/lightFullbrightShinyF.glsl +++ b/indra/newview/app_settings/shaders/class1/lighting/lightFullbrightShinyF.glsl @@ -56,9 +56,16 @@ void fullbright_shiny_lighting() color.rgb = mix(color.rgb, envColor.rgb, vertex_color.a*0.75); // MAGIC NUMBER SL-12574; ALM: Off, Quality > Low color.rgb = fullbrightShinyAtmosTransport(color.rgb); - color.rgb = fullbrightScaleSoftClip(color.rgb); } +/* + // NOTE: HUD objects will be full bright. Uncomment if you want "some" environment lighting effecting these HUD objects. + else + { + vec3 envColor = textureCube(environmentMap, vary_texcoord1.xyz).rgb; + color.rgb = mix(color.rgb, envColor.rgb, vertex_color.a*0.75); // MAGIC NUMBER SL-12574; ALM: Off, Quality > Low + } +*/ color.a = 1.0; |