procedural-3d-engine/data/shaders/glsl/meshshader/meshshader.frag

19 lines
257 B
GLSL
Raw Normal View History

2022-11-03 19:27:51 +01:00
/* 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;
}