diff options
author | HampusM <hampus@hampusmat.com> | 2023-11-02 20:22:33 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-11-02 20:22:33 +0100 |
commit | 9aafb51e0be1720019db1c3d0a294ce9a42653df (patch) | |
tree | 40881ff26bff5a928280223d8aced87e1370d63b /engine/fragment-color.glsl | |
parent | f2c54d47e6b61198520824117339aaa21c32accd (diff) |
feat(engine): add texturing
Diffstat (limited to 'engine/fragment-color.glsl')
-rw-r--r-- | engine/fragment-color.glsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/fragment-color.glsl b/engine/fragment-color.glsl new file mode 100644 index 0000000..8b209c4 --- /dev/null +++ b/engine/fragment-color.glsl @@ -0,0 +1,9 @@ +#version 330 core +out vec4 FragColor; + +in vec3 in_frag_color; + +void main() +{ + FragColor = vec4(in_frag_color, 1.0); +} |