#989 Fix for blurry terrain on Mac (#1633)

Co-authored-by: Dave Parks <davep@lindenlab.com>
master
Brad Linden 2024-06-04 16:09:03 -07:00 committed by GitHub
parent c413458fd4
commit 9f97ff7286
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -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;