diff options
Diffstat (limited to 'shaders/tile-shader.vert')
-rw-r--r-- | shaders/tile-shader.vert | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/tile-shader.vert b/shaders/tile-shader.vert index cc90bae5..10b17f38 100644 --- a/shaders/tile-shader.vert +++ b/shaders/tile-shader.vert @@ -12,5 +12,5 @@ void main() { interpolatedTextureCoordinates = textureCoordinates; gl_Position = projection * vec4(position.xy, 0, position.w) + vec4(0, position.z * y_scale, 0, 0); - interpolated_frag_depth = position.z; + interpolated_frag_depth = -position.z; } |