1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00

Expose EYE_OFFSET to gdshader code

This commit is contained in:
Bastiaan Olij
2023-02-01 12:33:22 +11:00
parent 0810ecaafd
commit 8c77aea9ab
9 changed files with 24 additions and 3 deletions

View File

@@ -625,6 +625,7 @@ void SceneShaderForwardClustered::init(const String p_defines) {
actions.renames["VIEW_INDEX"] = "ViewIndex";
actions.renames["VIEW_MONO_LEFT"] = "0";
actions.renames["VIEW_RIGHT"] = "1";
actions.renames["EYE_OFFSET"] = "eye_offset";
//for light
actions.renames["VIEW"] = "view";