Crafter.Graphics/test2.frag

19 lines
262 B
GLSL
Raw Normal View History

2025-04-19 23:59:27 +02:00
/* Copyright (c) 2021, Sascha Willems
2025-04-19 15:46:26 +02:00
*
2025-04-19 23:59:27 +02:00
* SPDX-License-Identifier: MIT
2025-04-19 15:46:26 +02:00
*
*/
2025-04-19 23:59:27 +02:00
#version 450
layout (location = 0) in VertexInput {
vec4 color;
} vertexInput;
layout(location = 0) out vec4 outFragColor;
2025-04-19 15:46:26 +02:00
void main()
{
2025-04-19 23:59:27 +02:00
outFragColor = vertexInput.color;
2025-04-19 15:46:26 +02:00
}