diff options
| author | 0undefined <oscar@nelin.dk> | 2025-03-25 20:13:54 +0000 |
|---|---|---|
| committer | 0undefined <oscar@nelin.dk> | 2025-03-25 20:15:37 +0000 |
| commit | a2dbad8da8e6ada46e7e31440ead412c52ab3e08 (patch) | |
| tree | 86a0e2502f29a027e589872b6f48bf372742f9af /resources/quad.frag | |
| parent | 3ee2b1865e6d3f01140a74bf5ac2f48f46744450 (diff) | |
Add quad shaders
Diffstat (limited to 'resources/quad.frag')
| -rw-r--r-- | resources/quad.frag | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/resources/quad.frag b/resources/quad.frag new file mode 100644 index 0000000..3e85ecf --- /dev/null +++ b/resources/quad.frag @@ -0,0 +1,13 @@ +#version 330 core + +in vec3 fragColor; + +out vec4 color; + +//uniform sampler2D textureSampler; + +void main() { + color.x = fragColor.x; + color.y = fragColor.y; + color.z = fragColor.z; +} |
