2024-10-09 15:50:20 +00:00
|
|
|
#version 330 core
|
|
|
|
|
2024-10-15 16:52:22 +00:00
|
|
|
uniform samplerCube skybox;
|
2024-10-09 15:50:20 +00:00
|
|
|
|
2024-10-15 16:52:22 +00:00
|
|
|
// in vec3 vPos;
|
|
|
|
// in vec3 vNormal;
|
|
|
|
in vec3 vTexCoords;
|
2024-10-09 15:50:20 +00:00
|
|
|
|
2024-10-09 16:19:37 +00:00
|
|
|
out vec4 fColor;
|
2024-10-09 15:50:20 +00:00
|
|
|
|
|
|
|
// Main
|
|
|
|
|
|
|
|
void main() {
|
2024-10-15 16:52:22 +00:00
|
|
|
// fColor = texture(uTexture, vTexCoords);
|
|
|
|
fColor = texture(skybox, vTexCoords);
|
2024-10-09 15:50:20 +00:00
|
|
|
}
|