2025-08-07 20:05 CEST

spring: transition 38645a49 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
lhog lhog transition 2020-08-16 11:09:33 transition eabe5182
Changeset A few fixes / enchancements:

* Fixed most of the issues uncovered by esteemed reviewers.
* Added Uniform Buffer Object (binding index 0), that has a lot of commonly used matrices as well as some other common in-shader uniforms (only for CGame() for now)
This bumps the requirements for OpenGL Implementation to support GLEW_ARB_uniform_buffer_object && GLEW_ARB_shading_language_420pack.
Without the latter, the implementation has to go through the shader programs and do glGetUniformBlockIndex / glUniformBlockBinding madness, which pretty much nullifies the purpose of shader independent UBO
Let's discuss if GLEW_ARB_uniform_buffer_object && GLEW_ARB_shading_language_420pack is acceptable
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Lua/CMakeLists.txt Diff ] File ]
mod - rts/Lua/LuaMatrix.cpp Diff ] File ]
add - rts/Lua/LuaMatrix.h Diff ] File ]
add - rts/Lua/LuaMatrixImpl.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.h Diff ] File ]
mod - rts/Lua/LuaShaders.cpp Diff ] File ]
mod - rts/Rendering/CMakeLists.txt Diff ] File ]
mod - rts/Rendering/GlobalRendering.cpp Diff ] File ]
mod - rts/Rendering/GlobalRendering.h Diff ] File ]
add - rts/Rendering/UniformConstants.cpp Diff ] File ]
add - rts/Rendering/UniformConstants.h Diff ] File ]