fixed artefacting on texture warp for objects behind camera
This commit is contained in:
parent
e4d160dd1b
commit
8ff5f46205
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ void main() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef tWarp
|
#ifdef tWarp
|
||||||
gl_Position /= gl_Position.w;
|
gl_Position /= abs(gl_Position.w);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue