core
This commit is contained in:
parent
ebacb9540c
commit
cfc9ca8349
10 changed files with 124 additions and 81 deletions
13
test2.frag
13
test2.frag
|
|
@ -1,19 +1,8 @@
|
|||
/* Copyright (c) 2021, Sascha Willems
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#version 450
|
||||
|
||||
layout (location = 0) in VertexInput {
|
||||
vec4 color;
|
||||
} vertexInput;
|
||||
|
||||
layout(location = 0) out vec4 outFragColor;
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
outFragColor = vertexInput.color;
|
||||
outFragColor = vec4(1, 1, 1, 1);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue