refactor res/shaders

This commit is contained in:
MihailRis
2024-07-20 16:05:06 +03:00
parent 52381d5afa
commit 8e159009eb
16 changed files with 85 additions and 61 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef CONSTANTS_GLSL_
#define CONSTANTS_GLSL_
// geometry
#define CURVATURE_FACTOR 0.002
// lighting
#define SKY_LIGHT_MUL 2.5
#define SKY_LIGHT_TINT vec3(0.9, 0.8, 1.0)
#define MAX_SKY_LIGHT vec3(0.1, 0.11, 0.14)
// fog
#define FOG_POS_SCALE vec3(1.0, 0.2, 1.0)
#endif // CONSTANTS_GLSL_