You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Fix shadows for billboarded Sprite3D's
This commit is contained in:
committed by
Rémi Verschelde
parent
9272f7b53d
commit
eab95698cd
@@ -14,6 +14,9 @@ struct SceneData {
|
||||
highp mat4 inv_projection_matrix_view[MAX_VIEWS];
|
||||
highp vec4 eye_offset[MAX_VIEWS];
|
||||
|
||||
// Used for billboards to cast correct shadows.
|
||||
highp mat4 main_cam_inv_view_matrix;
|
||||
|
||||
highp vec2 viewport_size;
|
||||
highp vec2 screen_pixel_size;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user