mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Properly rename INSTANCE_ID and VERTEX_ID in canvas item shaders in the compatibility backend
This commit is contained in:
parent
4c96e9676b
commit
9c5adac342
@ -1157,8 +1157,8 @@ MaterialStorage::MaterialStorage() {
|
||||
actions.renames["SCREEN_PIXEL_SIZE"] = "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["INSTANCE_ID"] = "gl_InstanceID";
|
||||
actions.renames["VERTEX_ID"] = "gl_VertexID";
|
||||
|
||||
actions.renames["LIGHT_POSITION"] = "light_position";
|
||||
actions.renames["LIGHT_DIRECTION"] = "light_direction";
|
||||
|
Loading…
Reference in New Issue
Block a user