f o o
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
|
||||
in layout(location = 1) vec2 textureCoordinates;
|
||||
|
||||
layout(binding = 0) uniform sampler2D textureSampler;
|
||||
|
||||
out vec4 fragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
fragColor = vec4(1.0, 0.0, 0.0, 1.0);
|
||||
fragColor = texture(textureSampler, textureCoordinates);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user