You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
Merge pull request #59305 from nevarek/fragment-shader-inv-projection
This commit is contained in:
@@ -456,8 +456,10 @@ layout(location = 9) in flat uint instance_index_interp;
|
|||||||
#define model_matrix instances.data[instance_index].transform
|
#define model_matrix instances.data[instance_index].transform
|
||||||
#ifdef USE_MULTIVIEW
|
#ifdef USE_MULTIVIEW
|
||||||
#define projection_matrix scene_data.projection_matrix_view[ViewIndex]
|
#define projection_matrix scene_data.projection_matrix_view[ViewIndex]
|
||||||
|
#define inv_projection_matrix scene_data.inv_projection_matrix_view[ViewIndex]
|
||||||
#else
|
#else
|
||||||
#define projection_matrix scene_data.projection_matrix
|
#define projection_matrix scene_data.projection_matrix
|
||||||
|
#define inv_projection_matrix scene_data.inv_projection_matrix
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ENABLE_SSS) && defined(ENABLE_TRANSMITTANCE)
|
#if defined(ENABLE_SSS) && defined(ENABLE_TRANSMITTANCE)
|
||||||
|
|||||||
Reference in New Issue
Block a user