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

@ -44,6 +44,7 @@ LIGHTMAP_BICUBIC_FILTER = false
#define M_PI 3.14159265359
#define SHADER_IS_SRGB true
#define SHADER_SPACE_FAR -1.0
#include "stdlib_inc.glsl"
@ -583,6 +584,7 @@ void main() {
/* clang-format on */
#define SHADER_IS_SRGB true
#define SHADER_SPACE_FAR -1.0
#define FLAGS_NON_UNIFORM_SCALE (1 << 4)