Torque3D/Engine/source/gfx
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
..
bitmap Review fixes 2015-02-23 14:57:37 -05:00
D3D9 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
gl 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
Null Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
sim Merge pull request #608 from BeamNG/use_gfxdevice_setupgenericshaders 2014-11-30 02:20:00 +01:00
util Merge pull request #622 from BeamNG/texel_pixel_offset 2014-11-30 02:20:45 +01:00
video Fix member vars left uninitialized in constructors 2015-02-20 18:41:51 -05:00
genericConstBuffer.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
genericConstBuffer.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gFont.cpp Merges in Monkey's fixes PR with a resolution for a conflict 2015-09-03 22:58:57 -05:00
gFont.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxAdapter.h GFX now handles non-default adapters 2013-04-09 12:50:17 -04:00
gfxAPI.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxAPI.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxCardProfile.cpp Fixes after feedback from Luis. 2014-12-23 18:48:02 +11:00
gfxCardProfile.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxCubemap.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxCubemap.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxDebugEvent.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxDevice.cpp Issue found with PVS-Studio: 2015-07-16 22:02:18 -05:00
gfxDevice.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
gfxDeviceStatistics.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxDeviceStatistics.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxDrawUtil.cpp Fix for OpenGL/D3D11 bottom border offset 2015-12-28 09:17:14 +10:00
gfxDrawUtil.h Allow drawing 2D squares with 0 rotation angle. 2014-07-10 11:30:56 +02:00
gfxEnums.h Set correct terrain layer texture format. 2014-11-08 18:19:14 +01:00
gfxFence.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxFence.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxFontRenderBatcher.cpp Use GFXDevice::setupGenericShaders for support non Fixed Fuction Pipelines. 2014-04-13 17:57:40 +02:00
gfxFontRenderBatcher.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxFormatUtils.cpp More fixes 2013-12-04 16:56:26 -05:00
gfxFormatUtils.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxInit.cpp GFX now handles non-default adapters 2013-04-09 12:50:17 -04:00
gfxInit.h GFX now handles non-default adapters 2013-04-09 12:50:17 -04:00
gfxOcclusionQuery.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxOcclusionQuery.h Fix SkatterSky flare occlusion. 2014-12-09 23:34:21 +11:00
gfxPrimitiveBuffer.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxPrimitiveBuffer.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxResource.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxResource.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxShader.cpp Add GFXShader::init with support for ordered vector of sampler names for shader. 2014-04-17 20:29:44 +02:00
gfxShader.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
gfxStateBlock.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxStateBlock.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxStringEnumTranslate.cpp Merge pull request #1048 from Lopuska/patch-11 2015-02-07 18:04:46 +01:00
gfxStringEnumTranslate.h Simple pass over the codebase to standardize the platform types. 2013-08-04 16:26:01 -05:00
gfxStructs.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxStructs.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxTarget.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxTarget.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxTextureHandle.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxTextureHandle.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxTextureManager.cpp Merge pull request #1352 from Areloch/PVS_Cleanup_807 2015-07-16 15:45:32 +10:00
gfxTextureManager.h Remove hard coded paths pass 1 2013-01-30 14:09:23 -05:00
gfxTextureObject.cpp Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro. 2014-11-03 22:42:51 -05:00
gfxTextureObject.h Simple pass over the codebase to standardize the platform types. 2013-08-04 16:26:01 -05:00
gfxTextureProfile.cpp Rename enum GFXTextureProfile::None for avoid conficts on Linux. 2014-04-07 00:03:52 +02:00
gfxTextureProfile.h Rename enum GFXTextureProfile::None for avoid conficts on Linux. 2014-04-07 00:03:52 +02:00
gfxTransformSaver.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxVertexBuffer.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxVertexBuffer.h Fixed some random Worder warnings 2015-07-03 15:52:38 +02:00
gfxVertexColor.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxVertexColor.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxVertexFormat.cpp Issue found with PVS-Studio: 2015-07-13 22:51:17 -05:00
gfxVertexFormat.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxVertexTypes.cpp Added PCNTT vertex type. 2014-07-31 00:22:45 +02:00
gfxVertexTypes.h Added PCNTT vertex type. 2014-07-31 00:22:45 +02:00
primBuilder.cpp Fix TAB vs Spaces on Engine/source/gfx/primBuilder.cpp 2014-11-25 22:43:22 +01:00
primBuilder.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
screenshot.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
screenshot.h Fix: Added missing virtual destructors for classes with virtual functions. 2014-05-06 12:40:46 +04:00