2024-04-11 14:59:46 -04:00
|
|
|
|
|
|
|
//#define tWarp // psx texture warp
|
|
|
|
|
|
|
|
void texture_warp() {
|
2024-04-11 22:02:36 -04:00
|
|
|
#ifdef tWarp_mod
|
|
|
|
gl_Position /= abs(gl_Position.w + tWarp_mod);
|
|
|
|
#else
|
|
|
|
gl_Position /= abs(gl_Position.w);
|
|
|
|
#endif
|
2024-04-11 14:59:46 -04:00
|
|
|
}
|
|
|
|
|