diff options
author | Omniscient <omniscient.oce@gmail.com> | 2024-05-17 08:39:51 +1000 |
---|---|---|
committer | Omniscient <omniscient.oce@gmail.com> | 2024-05-17 08:39:51 +1000 |
commit | e61a2e43947cebaafe4c3725414d33e092bb6fad (patch) | |
tree | 84f2e52a1eb62ec6b1957628307f59ad39a621af /assets/shaders/triangle.frag | |
parent | 634f22e2b6d538fc5a45da2b1b23af631f6f8703 (diff) |
cube working
Diffstat (limited to 'assets/shaders/triangle.frag')
-rw-r--r-- | assets/shaders/triangle.frag | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/assets/shaders/triangle.frag b/assets/shaders/triangle.frag index 2151162..a8c6e69 100644 --- a/assets/shaders/triangle.frag +++ b/assets/shaders/triangle.frag @@ -3,4 +3,6 @@ layout(location = 0) in vec3 fragColor; layout(location = 0) out vec4 outColor; -void main() { outColor = vec4(fragColor, 1.0); }
\ No newline at end of file +void main() { + outColor = vec4(fragColor, 0.0); +} |