You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix shader undefined variable
This commit is contained in:
@@ -453,7 +453,7 @@ layout(location = 9) in flat uint instance_index_interp;
|
||||
|
||||
//defines to keep compatibility with vertex
|
||||
|
||||
#define model_matrix instances.data[instance_index].transform
|
||||
#define model_matrix instances.data[draw_call.instance_index].transform
|
||||
#ifdef USE_MULTIVIEW
|
||||
#define projection_matrix scene_data.projection_matrix_view[ViewIndex]
|
||||
#define inv_projection_matrix scene_data.inv_projection_matrix_view[ViewIndex]
|
||||
|
||||
Reference in New Issue
Block a user