This commit is contained in:
Gabrieal Jimmy
2026-10-02 12:42:00 -05:00
commit 2c99305fb0
145 changed files with 6525 additions and 0 deletions

11
assets/shaders/sky.frag Normal file
View File

@@ -0,0 +1,11 @@
#version 450 core
#include "common.glsl"
in vec2 vUV;
layout(location = 0) out vec4 fragColor;
void main() {
vec3 far = worldFromDepth(vUV, 1.0);
vec3 dir = normalize(far - uCamPos.xyz);
fragColor = vec4(skyColor(dir), 1.0);
}