diff options
Diffstat (limited to 'examples/widgets/rhi/simplerhiwidget/shaders/color.frag')
-rw-r--r-- | examples/widgets/rhi/simplerhiwidget/shaders/color.frag | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/widgets/rhi/simplerhiwidget/shaders/color.frag b/examples/widgets/rhi/simplerhiwidget/shaders/color.frag new file mode 100644 index 000000000..375587662 --- /dev/null +++ b/examples/widgets/rhi/simplerhiwidget/shaders/color.frag @@ -0,0 +1,10 @@ +#version 440 + +layout(location = 0) in vec3 v_color; + +layout(location = 0) out vec4 fragColor; + +void main() +{ + fragColor = vec4(v_color, 1.0); +} |