diff options
author | HampusM <hampus@hampusmat.com> | 2023-10-07 20:52:09 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-10-07 20:52:09 +0200 |
commit | 715bbaf459b88575e11d90ec16bad3841bafd259 (patch) | |
tree | a253d4c40237c7f3c5decff833cf85ea0eafbe42 /engine/fragment.glsl | |
parent | 146635292369cc8a9660139d97cd9662025bd591 (diff) |
feat(engine): add ability to render triangles
Diffstat (limited to 'engine/fragment.glsl')
-rw-r--r-- | engine/fragment.glsl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engine/fragment.glsl b/engine/fragment.glsl new file mode 100644 index 0000000..0c56a32 --- /dev/null +++ b/engine/fragment.glsl @@ -0,0 +1,7 @@ +#version 330 core +out vec4 FragColor; + +void main() +{ + FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f); +} |