Torque3D/Engine/source/gfx/D3D9
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
..
pc 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
d3dx9Functions.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9CardProfiler.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
gfxD3D9CardProfiler.h GFX now handles non-default adapters 2013-04-09 12:50:17 -04:00
gfxD3D9Cubemap.cpp cubemap Mip retrieval-DX 2014-12-27 11:34:08 -06:00
gfxD3D9Cubemap.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9Device.cpp Oculus VR DK2 Support 2015-05-06 23:09:51 +01:00
gfxD3D9Device.h Merge remote-tracking branch 'bpay/clang-cl-build-fixes' into development 2015-07-17 16:55:12 +10:00
gfxD3D9Device.regen-states.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9EnumTranslate.h Fix macro token pasting errors when compiling with clang-cl 2015-03-04 19:10:53 -05:00
gfxD3D9OcclusionQuery.cpp Fix SkatterSky flare occlusion. 2014-12-09 23:34:21 +11:00
gfxD3D9OcclusionQuery.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9PrimitiveBuffer.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9PrimitiveBuffer.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9QueryFence.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9QueryFence.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9Shader.cpp Add sampler names to ShaderData for use on old versions of OpenGL and Opengl ES2 that not support explicit sampler location on shader files. 2014-11-08 17:50:37 +01:00
gfxD3D9Shader.h Add sampler names to ShaderData for use on old versions of OpenGL and Opengl ES2 that not support explicit sampler location on shader files. 2014-11-08 17:50:37 +01:00
gfxD3D9StateBlock.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9StateBlock.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9TextureManager.cpp Set correct terrain layer texture format. 2014-11-08 18:19:14 +01:00
gfxD3D9TextureManager.h GFX now handles non-default adapters 2013-04-09 12:50:17 -04:00
gfxD3D9TextureObject.cpp Enable RGB format for DDS files getting copied to bitmap. 2014-09-23 13:47:14 +02:00
gfxD3D9TextureObject.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9VertexBuffer.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxD3D9VertexBuffer.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
screenshotD3D9.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
screenshotD3D9.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
videoCaptureD3D9.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
videoCaptureD3D9.h Add missing include guards to some headers 2015-01-06 00:42:33 -05:00