diff options
| author | mobserveur <mobserveur@gmail.com> | 2025-10-02 14:31:04 +0200 |
|---|---|---|
| committer | mobserveur <mobserveur@gmail.com> | 2025-10-02 14:31:04 +0200 |
| commit | 72010d908770d6afe6295e3a112f38d39752b968 (patch) | |
| tree | 2cfcf6cd4fa4d53d026b90377e9bcf0c9799d4bc /indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskF.glsl | |
| parent | c4524c0305107092f80195b9691d7124fa85e69a (diff) | |
Cleaning deprecated gamma functions in shaders
This commit cleans the deprecated gamma functions in the shaders
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskF.glsl')
| -rw-r--r-- | indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskF.glsl b/indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskF.glsl index c7cb076099..5d619c1b82 100644 --- a/indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskF.glsl +++ b/indra/newview/app_settings/shaders/class1/lighting/lightAlphaMaskF.glsl @@ -28,7 +28,7 @@ out vec4 frag_color; uniform float minimum_alpha; vec3 atmosLighting(vec3 light); -vec3 scaleSoftClip(vec3 light); +//vec3 scaleSoftClip(vec3 light); in vec4 vertex_color; in vec2 vary_texcoord0; @@ -45,7 +45,7 @@ void default_lighting() color *= vertex_color; color.rgb = atmosLighting(color.rgb); - color.rgb = scaleSoftClip(color.rgb); + //color.rgb = scaleSoftClip(color.rgb); frag_color = max(color, vec4(0)); } |
