This commit is contained in:
2026-10-18 11:13:41 -04:00
commit 980dc7027e
60 changed files with 23924 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#version 330 core
out vec4 FragColor;
in vec3 TexCoords;
uniform samplerCube skybox;
void main()
{
float gamma = 2.2;
FragColor = vec4(pow(texture(skybox, TexCoords).rgb, vec3(gamma)),1.0f);
}