This commit is contained in:
2026-11-08 07:45:01 -05:00
commit 36e093f84c
1109 changed files with 254529 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);
}