diff options
author | Michael Pohoreski (Ptolemy Linden) <ptolemy@lindenlab.com> | 2019-11-23 00:02:30 +0000 |
---|---|---|
committer | Michael Pohoreski (Ptolemy Linden) <ptolemy@lindenlab.com> | 2019-11-23 00:02:30 +0000 |
commit | a164daad74fc0c8729aac5601df23c0f5cb3c02c (patch) | |
tree | 4204dd065726857c05905f53b0dd70b821c52ed1 /indra/newview/app_settings/shaders | |
parent | bd761b0833923f2fb6d3cd8430ebd3287be861f8 (diff) |
Cleanup comments
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/materialF.glsl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl index e640c2d7ae..c23314a4b9 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl @@ -276,7 +276,11 @@ void main() final_color.a = max(final_color.a, emissive_brightness); - // SL-11406 Fullbright: Object > Texture > Shininess > Environment Intensity = 1 + // Texture + // [x] Full Bright Object + // Shininess (specular) + // [X] Texture + // Environment Intensity = 1 // NOTE: There are two shaders that are used depending on the EI byte value: // EI = 0 fullbright // EI > 0 .. 255 material @@ -329,9 +333,6 @@ void main() float da = dot(norm.xyz, normalize(light_dir.xyz)); - // Dot product is guaranteed to be in -1 <= da <= +1 range for normalized vectors - // da = clamp(da, -1.0, 1.0); - float final_da = clamp(da, 0.0, 1.0); float ambient = da; |