mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 13:30:48 +00:00
11 lines
No EOL
231 B
GLSL
11 lines
No EOL
231 B
GLSL
#version 450
|
|
|
|
layout(location=0) in vec2 v_uv;
|
|
|
|
layout(location=0) out vec4 f_color;
|
|
|
|
layout(set = 0, binding = 0) uniform sampler2D t_texture;
|
|
|
|
void main() {
|
|
f_color = texture(t_texture, v_uv / textureSize(t_texture, 0) * 100);
|
|
} |