mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 06:00:33 +01:00
13 lines
227 B
GLSL
13 lines
227 B
GLSL
#version 450
|
|
|
|
layout(set=0,binding=0) uniform sampler2D tex;
|
|
|
|
layout(location=0) in vec2 vUv;
|
|
layout(location=1) in vec4 vColor;
|
|
|
|
layout(location = 0) out vec4 outColor;
|
|
|
|
void main() {
|
|
outColor = texture(tex, vUv) * vColor;
|
|
}
|