Changesets: DarkRadiant
master d34ec8aa 18.03.2022 08:19 Details Diff |
0005909: Accumulate non-alphatested surfaces without transformation matrix across all lights, to perform one large depth draw call |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderResult.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderer.h | Diff File | ||
master 86a7e2ad 18.03.2022 07:48 Details Diff |
0005909: Put non-alphatested surfaces without transformation matrix onto one huge pile to save drawcalls |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
master 305f81d1 18.03.2022 07:34 Details Diff |
0005909: Depth fill pass only needs to check materials with alphatest stages, the rest can go ahead without changing the texture binding |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderTemplate.cpp | Diff File | ||
master e3cc69df 18.03.2022 05:26 Details Diff |
0005909: Light texture matrix is loaded into the GLSL program instead of setting it through glMatrixMode |
Affected Issues 0005909 |
|
mod - install/gl/interaction_vp.glsl | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File | ||
master 16a90d39 18.03.2022 04:43 Details Diff |
0005909: More lighting set up code moved to GLSLBumpProgram. |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File | ||
master 2df6b653 18.03.2022 04:33 Details Diff |
0005909: Lighting set up code moved to GLSLBumpProgram. |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File | ||
master 7535c43b 18.03.2022 04:17 Details Diff |
0005909: WIP commit, distributing the GLSL program setup in interaction passes. Separate the setup code that is specific to the light only from the code that is depending to the rendered object. |
Affected Issues 0005909 |
|
mod - include/iglprogram.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File | ||
master 2166c37a 16.03.2022 20:15 Details Diff |
0005907: remove non-const getAttribute() from IEntity public interface This method is still needed on EntityClass since it is used internally, but is no longer used from elsewhere in the code. |
Affected Issues 0005907 |
|
mod - include/ieclass.h | Diff File | ||
mod - radiantcore/eclass/EntityClass.h | Diff File | ||
master f3efe946 15.03.2022 19:59 Details Diff |
0005907: introduce a new IEntityClass::getAttributeValue() method This is now used throughout the code in place of the more clumsy getAttribute().getValue() boilerplate. |
Affected Issues 0005907 |
|
mod - include/ieclass.h | Diff File | ||
mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
mod - plugins/dm.conversation/ConversationCommandInfo.cpp | Diff File | ||
mod - plugins/dm.editing/AIHeadChooserDialog.cpp | Diff File | ||
mod - plugins/dm.editing/AIVocalSetChooserDialog.cpp | Diff File | ||
mod - plugins/dm.editing/SpawnargLinkedCheckbox.h | Diff File | ||
mod - plugins/dm.stimresponse/EffectEditor.cpp | Diff File | ||
mod - plugins/dm.stimresponse/ResponseEffect.cpp | Diff File | ||
mod - radiantcore/eclass/EntityClass.cpp | Diff File | ||
mod - radiantcore/eclass/EntityClass.h | Diff File | ||
mod - radiantcore/entity/EntityModule.cpp | Diff File | ||
mod - radiantcore/entity/SpawnArgs.cpp | Diff File | ||
mod - radiantcore/map/aas/AasFileManager.cpp | Diff File | ||
mod - test/Entity.cpp | Diff File | ||
master 88615afd 13.03.2022 19:54 Details Diff |
0005909: Reduce the GL state handling code to the minimum for interaction stages |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File | ||
master 4199e472 13.03.2022 17:44 Details Diff |
0005909: Migrate bump and specular texture matrices to uniforms |
Affected Issues 0005909 |
|
mod - install/gl/interaction_fp.glsl | Diff File | ||
mod - install/gl/interaction_vp.glsl | Diff File | ||
mod - radiantcore/rendersystem/backend/InteractionPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File | ||
master f512bbb3 13.03.2022 17:07 Details Diff |
0005909: One step towards replacing the texture matrices with uniforms |
Affected Issues 0005909 |
|
mod - install/gl/interaction_fp.glsl | Diff File | ||
mod - install/gl/interaction_vp.glsl | Diff File | ||
mod - radiantcore/rendersystem/backend/InteractionPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File | ||
master 76f22c3a 13.03.2022 16:51 Details Diff |
0005909: Load the model view projection matrix into the GLSL uniform |
Affected Issues 0005909 |
|
mod - install/gl/interaction_vp.glsl | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File | ||
master 556f5277 13.03.2022 16:34 Details Diff |
0005909: Prepare the light interaction pass to operate on a single program reference, like the interaction state is doing |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/InteractionPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/InteractionPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp | Diff File | ||
master bb5438a2 13.03.2022 13:48 Details Diff |
0005909: Streamline the depth fill state changes. Since every depth fill pass has the same set of required flags, we might as well do it before iterating over all the renderable objects. Use the same GLSL program instance throughout the whole pass, just set the moving parts like texture, transform and alpha test. |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/DepthFillPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/DepthFillPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderer.h | Diff File | ||
master 9a07cf21 13.03.2022 09:05 Details Diff |
0005909: Set the alpha test value as evaluated in the material's shader stage. Remove texture matrix code. |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/DepthFillPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/DepthFillPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLDepthFillAlphaProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLDepthFillAlphaProgram.h | Diff File | ||
master 05bcddd5 13.03.2022 08:50 Details Diff |
0005909: Separate state application and renderable submission |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/FullBrightRenderer.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File | ||
master c5680da2 13.03.2022 08:44 Details Diff |
0005909: Move non-interaction pass to member method |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderer.h | Diff File | ||
master 0ac026f4 13.03.2022 08:30 Details Diff |
0005909: Remove tons of unused and duplicated code |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLState.h | Diff File | ||
master eb0a8eaf 13.03.2022 08:24 Details Diff |
0005909: Remove check for openGL 1.3. Remove unneeded non-const references. |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/OpenGLState.h | Diff File | ||
master 009ac16c 13.03.2022 08:21 Details Diff |
0005909: Move tons of GL state management code from shader pass to OpenGLState awaiting further refactoring. |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/DepthFillPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/DepthFillPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLState.h | Diff File | ||
master 9333b5b6 13.03.2022 07:47 Details Diff |
0005909: Move OpenGLState type to rendersystem backend, it's not a public interface and only used internally by the renderer. |
Affected Issues 0005909 |
|
mod - include/precompiled_render_interfaces.h | Diff File | ||
mod - radiantcore/rendersystem/backend/GLProgramFactory.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.h | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLStateLess.h | Diff File | ||
mod - radiantcore/rendersystem/backend/SceneRenderer.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/SceneRenderer.h | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
master ac47e37f 13.03.2022 07:34 Details Diff |
0005909: Separate time-dependent stage evaluation and state application routines |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File | ||
master 555c3b35 13.03.2022 07:12 Details Diff |
0005909: Remove unused parameters from shader pass methods |
Affected Issues 0005909 |
|
mod - radiantcore/rendersystem/backend/FullBrightRenderer.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/LightingModeRenderer.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.h | Diff File | ||
master 95021ea9 13.03.2022 06:54 Details Diff |
0005909: Replace gl_ModelViewProjectionMatrix with a custom uniform set by the code. This allows us to update the GLSL version to 140. |
Affected Issues 0005909 |
|
mod - install/gl/zfill_vp.glsl | Diff File | ||
mod - radiantcore/rendersystem/backend/LightInteractions.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLDepthFillAlphaProgram.cpp | Diff File | ||
mod - radiantcore/rendersystem/backend/glprogram/GLSLDepthFillAlphaProgram.h | Diff File |