Put the OpenGL to work
This commit is contained in:
8
app/src/main/resources/shaders/default.fs
Executable file
8
app/src/main/resources/shaders/default.fs
Executable file
@@ -0,0 +1,8 @@
|
||||
#version 330
|
||||
|
||||
out vec4 fragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
fragColor = vec4(0.0, 0.5, 0.5, 1.0);
|
||||
}
|
||||
8
app/src/main/resources/shaders/default.vs
Executable file
8
app/src/main/resources/shaders/default.vs
Executable file
@@ -0,0 +1,8 @@
|
||||
#version 330
|
||||
|
||||
layout(location=0) in vec3 position;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(position, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user