begin test opengl ugui renderer
This commit is contained in:
parent
8610e225f7
commit
2c9b6e06fa
6 changed files with 399 additions and 0 deletions
10
opengl-ren/fragment.glsl
Normal file
10
opengl-ren/fragment.glsl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#version 330
|
||||
|
||||
flat in vec4 out_color;
|
||||
out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
// set the color for each vertex to white
|
||||
color = out_color;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue