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 e4d160dd1b
commit 8ff5f46205

View file

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