Added a basic mesh shader example

This commit is contained in:
Sascha Willems 2022-11-03 19:27:51 +01:00
parent c79333e085
commit 89fc84bf14
7 changed files with 298 additions and 0 deletions

View file

@ -0,0 +1,19 @@
/* Copyright (c) 2021, Sascha Willems
*
* SPDX-License-Identifier: MIT
*
*/
#version 450
layout (location = 0) in VertexInput {
vec4 color;
} vertexInput;
layout(location = 0) out vec4 FragColor;
void main()
{
FragColor = vertexInput.color;
}