fixed artefacting on texture warp for objects behind camera
This commit is contained in:
parent
a7e9188862
commit
df63fbd122
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