diff options
author | NHodgesVFX <NhodgesVFX@gmail.com> | 2021-11-08 20:12:11 -0500 |
---|---|---|
committer | NHodgesVFX <NhodgesVFX@gmail.com> | 2021-11-08 20:12:11 -0500 |
commit | dbe366a830ca56e047680d1524479e87e2ba5db4 (patch) | |
tree | 3d4cbd34aa7e197c66747a961641bbe39ba43694 /servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp | |
parent | 59686536622473e14b253268354ecfbae63d0d58 (diff) |
add more OpenGL attributes
Diffstat (limited to 'servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp')
-rw-r--r-- | servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp b/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp index 13a3e814f6..9ff67f6807 100644 --- a/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp +++ b/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp @@ -2378,6 +2378,8 @@ RendererCanvasRenderRD::RendererCanvasRenderRD(RendererStorageRD *p_storage) { actions.renames["SCREEN_PIXEL_SIZE"] = "canvas_data.screen_pixel_size"; actions.renames["FRAGCOORD"] = "gl_FragCoord"; actions.renames["POINT_COORD"] = "gl_PointCoord"; + actions.renames["INSTANCE_ID"] = "gl_InstanceIndex"; + actions.renames["VERTEX_ID"] = "gl_VertexIndex"; actions.renames["LIGHT_POSITION"] = "light_position"; actions.renames["LIGHT_COLOR"] = "light_color"; |