Moved shader into properly named sub folder
This commit is contained in:
parent
037238607a
commit
8b36ac5f76
10 changed files with 5 additions and 10 deletions
15
data/shaders/texturecubemap/skybox.frag
Normal file
15
data/shaders/texturecubemap/skybox.frag
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#version 450
|
||||
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
#extension GL_ARB_shading_language_420pack : enable
|
||||
|
||||
layout (binding = 1) uniform samplerCube samplerCubeMap;
|
||||
|
||||
layout (location = 0) in vec3 inUVW;
|
||||
|
||||
layout (location = 0) out vec4 outFragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
outFragColor = texture(samplerCubeMap, inUVW);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue