diff options
author | Brad Linden <46733234+brad-linden@users.noreply.github.com> | 2024-06-04 16:09:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 16:09:03 -0700 |
commit | 9f97ff7286aceef5be4e7589ca4af911edf30f12 (patch) | |
tree | 9dd7e9da382abcdf818ee673814c54db71ca7adb /indra | |
parent | c413458fd48ff209f7bd536924a2df2c4dfe8716 (diff) |
#989 Fix for blurry terrain on Mac (#1633)
Co-authored-by: Dave Parks <davep@lindenlab.com>
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl b/indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl index 8e1e4b54d5..b4ab7cd169 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/terrainV.glsl @@ -47,7 +47,9 @@ vec2 texgen_object(vec4 vpos, mat4 mat, vec4 tp0, vec4 tp1) tcoord.x = dot(vpos, tp0); tcoord.y = dot(vpos, tp1); - + tcoord.z = 0; + tcoord.w = 1; + tcoord = mat * tcoord; return tcoord.xy; |