diff options
Diffstat (limited to 'frag.glsl')
-rw-r--r-- | frag.glsl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,8 +2,9 @@ // SPDX-License-Identifier: MIT #version 330 core out vec4 color; +in vec3 vcolor; void main() { - color = vec4(1.0f, 0.5f, 0.2f, 1.0f); + color = vec4(vcolor, 1.0); } |