Torque3D/Engine/source/renderInstance
Azaezel 8c5810adad The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of:
renderPrePassMgr.cpp related:
A) shifting .addFeature( MFT_XYZ); calls from ProcessedShaderMaterial::_determineFeatures to ProcessedPrePassMaterial::_determineFeatures
B) mimicking the "// set the XXX if different" entries from RenderMeshMgr::render in RenderPrePassMgr::render
C) fleshing out ProcessedPrePassMaterial::getNumStages() so that it shares a 1:1 correlation with ProcessedShaderMaterial::getNumStages()
D) causing inline void Swizzle<T, mapLength>::ToBuffer( void *destination, const void *source, const dsize_t size )  to silently fail rather than fatally assert if a source or destination buffer is not yet ready to be filled. (support for #customTarget scripted render targets)

Reflections:
A) removing reflectRenderState.disableAdvancedLightingBins(true); entries. this would otherwise early out from prepass and provide no color data whatsoever.
B) removing the fd.features.addFeature( MFT_ForwardShading ); entry forcing all materials to be forward lit when reflected.
C) 2 things best described bluntly as working hacks:
C1) when reflected, a scattersky is rotated PI along it's z then x axis in order to draw properly.
C2) along similar lines, in terraincellmaterial, we shut off culling if it's a prepass material.

Skies: scattersky is given a pair of rotations for reflection purposes, all sky objects are given a z value for depth testing.
2016-02-16 02:50:49 -06:00
..
forcedMaterialMeshMgr.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
forcedMaterialMeshMgr.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
renderBinManager.cpp The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of: 2016-02-16 02:50:49 -06:00
renderBinManager.h The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of: 2016-02-16 02:50:49 -06:00
renderFormatChanger.cpp Reduce innecesary changes on Render Target textures. 2014-11-08 18:34:21 +01:00
renderFormatChanger.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
renderGlowMgr.cpp The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of: 2016-02-16 02:50:49 -06:00
renderGlowMgr.h Add support for rendering particles to the glow buffer 2014-11-28 23:34:26 +01:00
renderImposterMgr.cpp added checks for valid pointers after locking 2013-06-30 17:51:38 +02:00
renderImposterMgr.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
renderMeshMgr.cpp The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of: 2016-02-16 02:50:49 -06:00
renderMeshMgr.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
renderObjectMgr.cpp The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of: 2016-02-16 02:50:49 -06:00
renderObjectMgr.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
renderOcclusionMgr.cpp Remove dead code that contains a delete of an uninitialized pointer 2015-02-20 18:42:30 -05:00
renderOcclusionMgr.h Remove dead code that contains a delete of an uninitialized pointer 2015-02-20 18:42:30 -05:00
renderParticleMgr.cpp Merge pull request #921 from lukaspj/Mixed-Particle-Rendering-Warning-Fix 2014-12-21 19:06:57 +11:00
renderParticleMgr.h Fix for rendering particles to the glow buffer 2015-05-28 20:41:42 +10:00
renderPassManager.cpp The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of: 2016-02-16 02:50:49 -06:00
renderPassManager.h The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of: 2016-02-16 02:50:49 -06:00
renderPassStateToken.cpp Initial Implementation of the Taml, Asset and Modules systems. 2015-10-13 15:19:36 -05:00
renderPassStateToken.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
renderPrePassMgr.cpp Deferred Shading 2016-02-16 01:50:58 -06:00
renderPrePassMgr.h Deferred Shading 2016-02-16 01:50:58 -06:00
renderTerrainMgr.cpp The final step (barring any overlooked missing bits, requested refactors, and of course, rolling in dependencies already submitted as PRs) consists of: 2016-02-16 02:50:49 -06:00
renderTerrainMgr.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
renderTexTargetBinManager.cpp Glow buffer graphic corruption fix on OpenGL. 2016-01-14 23:51:35 +01:00
renderTexTargetBinManager.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
renderTranslucentMgr.cpp Re-submission of the Volumetric Fog PR, with cleanup. 2015-12-01 00:10:13 -06:00
renderTranslucentMgr.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00