fixed artefacting on texture warp for objects behind camera

This commit is contained in:
Valerie Wolfe 2024-04-11 12:08:47 -04:00
parent a7e9188862
commit df63fbd122

View file

@ -28,7 +28,7 @@ void main() {
#endif
#ifdef tWarp
gl_Position /= gl_Position.w;
gl_Position /= abs(gl_Position.w);
#endif
}