Torque3D/Engine/source/scene
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
..
culling shadow caching 2015-10-13 18:12:19 -05:00
mixin Add missing include guards to some headers 2015-01-06 00:42:33 -05:00
zones replaced UNUSED and assert combination by a fixed up assert macro - thanks luis! :) 2014-03-15 12:50:38 +01:00
fogStructs.h Default value for WaterFogData plane distance 2013-11-04 13:24:16 -05:00
pathManager.cpp Fix member vars left uninitialized in constructors 2015-02-20 18:41:51 -05:00
pathManager.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
reflectionManager.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
reflectionManager.h Fix for Issue #124 for CustomMaterial Refraction 2012-11-08 16:00:52 -05:00
reflectionMatHook.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
reflectionMatHook.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
reflector.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
reflector.h clean PlaneReflector member variables declaration. 2014-11-30 05:16:56 +01:00
sceneCameraState.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
sceneCameraState.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
sceneContainer.cpp Merges in Monkey's fixes PR with a resolution for a conflict 2015-09-03 22:58:57 -05:00
sceneContainer.h Added PLC_Navigation hint for gathering navmesh polygon data. 2013-07-04 17:23:23 +10:00
sceneManager.cpp Basic fix for stereo rendering without a display device 2015-06-21 20:59:41 +01:00
sceneManager.h Made some tweaks so I'm happy with it. 2014-12-07 19:14:06 +11:00
sceneObject.cpp Fixed bug with comparison cases of getRenderEnabled 2015-02-03 14:18:06 -08:00
sceneObject.h cleaned up variant of https://github.com/GarageGames/Torque3D/pull/768 alterations: opengl support, in-shader bug-reporting, direction vector fit to material slider-bar. 2014-12-21 14:07:42 -06:00
sceneObjectLightingPlugin.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
scenePolyhedralSpace.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
scenePolyhedralSpace.h Fix for link error when building with clang-cl 2015-03-04 19:25:11 -05:00
sceneRenderState.cpp Side by side rendering 2013-04-09 15:19:18 -04:00
sceneRenderState.h SceneCullingState with culling and camera frustum 2013-11-07 15:07:16 -05:00
sceneSpace.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
sceneSpace.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
sceneTracker.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
sceneTracker.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
sgUtil.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
sgUtil.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
simPath.cpp Remove unneeded double-initialization of the vars. 2014-10-19 14:30:46 +11:00
simPath.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00