generate random colored squares
This commit is contained in:
parent
2fae908a55
commit
48c2cd6386
5 changed files with 20 additions and 9 deletions
|
@ -1,8 +1,9 @@
|
|||
#version 460 core
|
||||
|
||||
out vec4 oColor;
|
||||
in vec4 vertexColor;
|
||||
out vec4 fragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
oColor = vec4(0.6f, 0.2f, 0.9f, 1.0f);
|
||||
fragColor = vertexColor;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue