diff options
author | Dave Parks <davep@lindenlab.com> | 2024-06-05 15:14:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 15:14:13 -0500 |
commit | 24586f810eb7ef8048a55687333d51c53aa2bed8 (patch) | |
tree | c1213aae9efb9a5b6afd89ab6ce6ffe3dd02c277 /indra/newview/app_settings | |
parent | f568e6036bfa133ee8496a751f3269ec772fe5d3 (diff) |
#1527 Improve performance on Apple silicon (#1632)
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/terrainF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/terrainF.glsl b/indra/newview/app_settings/shaders/class1/deferred/terrainF.glsl index 5f598f84a7..5c79fd7315 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/terrainF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/terrainF.glsl @@ -57,7 +57,7 @@ void main() outColor.a = 0.0; // yes, downstream atmospherics - frag_data[0] = outColor; + frag_data[0] = max(outColor, vec4(0)); frag_data[1] = vec4(0.0,0.0,0.0,-1.0); vec3 nvn = normalize(vary_normal); frag_data[2] = vec4(nvn.xyz, GBUFFER_FLAG_HAS_ATMOS); |