2D Sprite Renderer and sprite framework, Began additional OpenGL Renderer, started transitioning multiplayer networking to use Java NIO
This commit is contained in:
parent
5a05b9d65e
commit
3e886e5ba8
165 changed files with 4460 additions and 5485 deletions
9
resources/EngineResources/GLShaders/scene_frag.glsl
Normal file
9
resources/EngineResources/GLShaders/scene_frag.glsl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#version 330
|
||||
|
||||
in vec3 outColour;
|
||||
out vec4 fragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
fragColor = vec4(outColour, 1.0);
|
||||
}
|
||||
12
resources/EngineResources/GLShaders/scene_vert.glsl
Normal file
12
resources/EngineResources/GLShaders/scene_vert.glsl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#version 330
|
||||
|
||||
layout (location=0) in vec3 position;
|
||||
layout (location=1) in vec3 colour;
|
||||
|
||||
out vec3 outColour;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(position, 1.0);
|
||||
outColour = colour;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue