diff options
Diffstat (limited to 'shaders/shader.vert')
-rw-r--r-- | shaders/shader.vert | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/shader.vert b/shaders/shader.vert index a539ed6b..9190fe8d 100644 --- a/shaders/shader.vert +++ b/shaders/shader.vert @@ -10,6 +10,6 @@ noperspective out vec2 frag_texcoords; void main() { float x = -position.y, y = -position.x, z = position.z; - gl_Position = vec4((x-y+offset.x)*scale.x, ((x+y+z*2)*.59-offset.y)*scale.y, offset.z + depth, 1); + gl_Position = vec4((x-y+offset.x)*scale.x, ((x+y+z*2)*0.578125-offset.y)*scale.y, offset.z + depth, 1); frag_texcoords = texcoords; } |