diff options
author | Kitty Barnett <develop@catznip.com> | 2024-09-17 19:16:25 +0200 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2024-09-17 19:16:25 +0200 |
commit | 25f8cbece402c0987e2035eb7721e21a9d2761c3 (patch) | |
tree | f2408e7d1f7b58f49f8cefc5dda7dd56d08c98f8 /indra/newview/app_settings/shaders/class1/deferred/CASF.glsl | |
parent | 6f4d7c2d6d363aee60d2f3d1fe4ed4a251aaa11b (diff) | |
parent | f378d2f95ad751ccf7456f79baba61d6c39f5c36 (diff) |
Merge branch 'develop' into rlva/base
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/CASF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/CASF.glsl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/CASF.glsl b/indra/newview/app_settings/shaders/class1/deferred/CASF.glsl index 96d08058cf..e80c59b39f 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/CASF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/CASF.glsl @@ -2067,9 +2067,6 @@ A_STATIC void CasSetup( AF3 CasLoad(ASU2 p) { return texelFetch(diffuseRect, p, 0).rgb; } void CasInput(inout AF1 r,inout AF1 g,inout AF1 b) { - r = AFromSrgbF1(r); - g = AFromSrgbF1(g); - b = AFromSrgbF1(b); } //------------------------------------------------------------------------------------------------------------------------------ @@ -2553,6 +2550,7 @@ void main() vec4 diff = vec4(0.f); uvec2 point = uvec2(vary_fragcoord * out_screen_res.xy); CasFilter(diff.r, diff.g, diff.b, point, cas_param_0, cas_param_1, true); - frag_color = vec4(linear_to_srgb(diff.rgb), 1.0); + diff.a = texture(diffuseRect, vary_fragcoord).a; + frag_color = diff; } #endif |