more OpenGL support, cameras and 3D projection and it now shares 3D models with vulkan, OpenGL does not work if launched, and switching to vulkan from OpenGL does not work
This commit is contained in:
parent
5ea45890c8
commit
5518dae1d7
43 changed files with 1298 additions and 187 deletions
13
resources/EngineResources/GLShaders/gui_fragment.glsl
Normal file
13
resources/EngineResources/GLShaders/gui_fragment.glsl
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 330
|
||||
|
||||
in vec2 fragTextCoords;
|
||||
in vec4 fragColour;
|
||||
|
||||
uniform sampler2D textureSampler;
|
||||
|
||||
out vec4 outColour;
|
||||
|
||||
void main()
|
||||
{
|
||||
outColour = fragColour * texture(textureSampler, fragTextCoords);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue