diff options
Diffstat (limited to 'assets/shaders/skybox.frag')
-rw-r--r-- | assets/shaders/skybox.frag | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/assets/shaders/skybox.frag b/assets/shaders/skybox.frag new file mode 100644 index 0000000..242477d --- /dev/null +++ b/assets/shaders/skybox.frag @@ -0,0 +1,11 @@ +#version 410 core + +out vec4 FragColor; + +in vec3 TexCoords; + +uniform samplerCube cubemap; + +void main() { + FragColor = texture(cubemap, TexCoords); +} |