Move `data/shaders` to `data/shaders/glsl` Move `data/hlsl` to `data/shaders/hlsl` Fix up shader paths in the cpp files to point to the new glsl location. `data/shaders/hlsl/compile.py` still overwrites the glsl .spv files (for now). Issue: #723
10 lines
No EOL
153 B
GLSL
10 lines
No EOL
153 B
GLSL
#version 450
|
|
|
|
layout (location = 0) in vec3 inColor;
|
|
|
|
layout (location = 0) out vec4 outFragColor;
|
|
|
|
void main()
|
|
{
|
|
outFragColor = vec4(inColor, 1.0);
|
|
} |