diff options
Diffstat (limited to 'source/dw/app/shader')
-rw-r--r-- | source/dw/app/shader/main.frag.glsl | 7 | ||||
-rw-r--r-- | source/dw/app/shader/main.vert.glsl | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/source/dw/app/shader/main.frag.glsl b/source/dw/app/shader/main.frag.glsl new file mode 100644 index 0000000..201ce9f --- /dev/null +++ b/source/dw/app/shader/main.frag.glsl @@ -0,0 +1,7 @@ +#version 150 core + +out vec4 col; + +void main() { + col = vec4(0.7137f,0.0941f,0.2000f,1.0f); +} diff --git a/source/dw/app/shader/main.vert.glsl b/source/dw/app/shader/main.vert.glsl new file mode 100644 index 0000000..fb6999c --- /dev/null +++ b/source/dw/app/shader/main.vert.glsl @@ -0,0 +1,7 @@ +#version 150 core + +in vec3 pos; + +void main() { + gl_Position = vec4(pos.x,pos.y,pos.z,1.0f); +} |