texture
This commit is contained in:
parent
01a3211dfb
commit
98b775e33e
21 changed files with 361 additions and 5541 deletions
10
FragmentShaderTexture.frag
Normal file
10
FragmentShaderTexture.frag
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) in vec2 fragUV;
|
||||
layout(location = 0) out vec4 outColor;
|
||||
layout(set = 1, binding = 0) uniform sampler2D texSampler;
|
||||
|
||||
void main()
|
||||
{
|
||||
outColor = texture(texSampler, fragUV);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue