fixed another vertex warp typo
This commit is contained in:
parent
661fe2f98a
commit
7b57e91a08
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#define vWarp 0 // psx vertex warp [0 1 2 4 8 16 32]
|
#define vWarp 0 // psx vertex warp [0 1 2 4 8 16 32]
|
||||||
|
|
||||||
vec4 vertex_warp() {
|
void vertex_warp() {
|
||||||
float mod = pixelSize * vWarp;
|
float mod = pixelSize * vWarp;
|
||||||
vec2 screen = vec2(viewWidth / mod, viewHeight / mod);
|
vec2 screen = vec2(viewWidth / mod, viewHeight / mod);
|
||||||
vec4 position = gbufferModelViewInverse * gl_ModelViewMatrix * gl_Vertex;
|
vec4 position = gbufferModelViewInverse * gl_ModelViewMatrix * gl_Vertex;
|
||||||
|
|
Loading…
Reference in a new issue