Attempt adding GLSL shaders for basic color. Not working atm.
This commit is contained in:
parent
a0083f5c21
commit
dcd1307a71
8 changed files with 147 additions and 5 deletions
9
src/main/resources/shaders/fragment.fs
Normal file
9
src/main/resources/shaders/fragment.fs
Normal file
|
@ -0,0 +1,9 @@
|
|||
#version 400 core
|
||||
|
||||
in vec3 color;
|
||||
|
||||
out vec4 fragmentColor;
|
||||
|
||||
void main() {
|
||||
fragmentColor = vec4(color, 1.0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue