diff options
author | Lyuma <xn.lyuma@gmail.com> | 2021-02-05 13:09:33 -0800 |
---|---|---|
committer | Lyuma <xn.lyuma@gmail.com> | 2021-02-05 13:09:33 -0800 |
commit | 780e761dbcb498d1f7e4b06f26b2277bbaa8e505 (patch) | |
tree | 735fbc044fe0954e7f81947a55655506b7f5f4e3 /servers/rendering/renderer_rd | |
parent | b7e10141197fdd9b0dbc4cfa7890329510d36540 (diff) |
Fix mismatched define in scene_forward.glsl for POSITION override
Diffstat (limited to 'servers/rendering/renderer_rd')
-rw-r--r-- | servers/rendering/renderer_rd/shaders/scene_forward.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/renderer_rd/shaders/scene_forward.glsl b/servers/rendering/renderer_rd/shaders/scene_forward.glsl index 83e2ae9cbd..adccf1e712 100644 --- a/servers/rendering/renderer_rd/shaders/scene_forward.glsl +++ b/servers/rendering/renderer_rd/shaders/scene_forward.glsl @@ -203,7 +203,7 @@ void main() { uv2_interp = uv2_attrib; #endif -#ifdef USE_OVERRIDE_POSITION +#ifdef OVERRIDE_POSITION vec4 position; #endif @@ -298,7 +298,7 @@ VERTEX_SHADER_CODE #endif //MODE_RENDER_DEPTH -#ifdef USE_OVERRIDE_POSITION +#ifdef OVERRIDE_POSITION gl_Position = position; #else gl_Position = projection_matrix * vec4(vertex_interp, 1.0); |