aeon-199x/shaders/module/texture_warp.vert

12 lines
182 B
GLSL
Raw Permalink Normal View History

//#define tWarp // psx texture warp
void texture_warp() {
#ifdef tWarp_mod
gl_Position /= abs(gl_Position.w + tWarp_mod);
#else
gl_Position /= abs(gl_Position.w);
#endif
}