1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

Add CLIP_SPACE_FAR built-in to spatial shader

This commit is contained in:
Chaosus
2024-08-02 13:25:19 +03:00
parent db76de5de8
commit f538376c3b
9 changed files with 16 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
#include "scene_forward_clustered_inc.glsl"
#define SHADER_IS_SRGB false
#define SHADER_SPACE_FAR 0.0
/* INPUT ATTRIBS */
@@ -638,6 +639,7 @@ void main() {
#VERSION_DEFINES
#define SHADER_IS_SRGB false
#define SHADER_SPACE_FAR 0.0
/* Specialization Constants (Toggles) */