mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-21 19:57:44 +00:00
15 lines
360 B
GLSL
15 lines
360 B
GLSL
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
#version 460 core
|
|
|
|
layout(location = 0) in vec2 inUV;
|
|
layout(location = 1) in vec4 inColor;
|
|
|
|
layout(location = 0) out vec4 outColor;
|
|
|
|
layout(binding = 0) uniform sampler2D boundSampler;
|
|
|
|
void main() {
|
|
outColor = inColor * texture(boundSampler, inUV);
|
|
}
|