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:
Halbear 2026-08-29 04:24:05 +01:00
parent 5ea45890c8
commit 5518dae1d7
43 changed files with 1298 additions and 187 deletions

View 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);
}