Torque3D/Engine/source/gfx/gl
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
..
sdl PlatformSDL implementation. 2015-01-19 01:17:37 +01:00
tGL Fix x64 builds. 2014-11-30 04:00:58 +01:00
util Add OpenGL support. 2014-11-08 20:21:50 +01:00
win32 Update gfxGLDevice.win.cpp 2015-01-19 17:44:48 +01:00
gfxGLAppleFence.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxGLAppleFence.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLCardProfiler.cpp Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLCardProfiler.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxGLCircularVolatileBuffer.h Update gfxGLCircularVolatileBuffer.h 2016-01-18 05:49:05 +01:00
gfxGLCubemap.cpp OpenGL: Mipmaps for GFXGLCubemap. Fix compressed textures. 2014-12-27 00:01:21 +01:00
gfxGLCubemap.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxGLDevice.cpp gfxGLDevice setShader fix. 2015-06-15 21:10:49 +10:00
gfxGLDevice.h gfxGLDevice setShader fix. 2015-06-15 21:10:49 +10:00
gfxGLDevice.mac.mm Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLDeviceProfiler.cpp Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLEnumTranslate.cpp Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLEnumTranslate.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLOcclusionQuery.cpp Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLOcclusionQuery.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
gfxGLPrimitiveBuffer.cpp Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLPrimitiveBuffer.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLShader.cpp remove GL_EXT_gpu_shader4 2015-09-22 00:57:40 -04:00
gfxGLShader.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLStateBlock.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
gfxGLStateBlock.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLStateCache.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLTextureManager.cpp Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLTextureManager.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLTextureObject.cpp OpenGL: Mipmaps for GFXGLCubemap. Fix compressed textures. 2014-12-27 00:01:21 +01:00
gfxGLTextureObject.h OpenGL: Mipmaps for GFXGLCubemap. 2014-12-26 21:03:54 +01:00
gfxGLTextureTarget.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
gfxGLTextureTarget.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLUtils.h Remove a get* OpenGL function causing CPU-GPU sync point (bad performance). 2015-01-26 01:56:13 +01:00
gfxGLVertexAttribLocation.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLVertexBuffer.cpp Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLVertexBuffer.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLVertexDecl.cpp Linux implementation. Include changes for gcc x64. 2015-01-24 22:08:26 +01:00
gfxGLVertexDecl.h Add OpenGL support. 2014-11-08 20:21:50 +01:00
gfxGLWindowTarget.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
gfxGLWindowTarget.h Update gfxGLWindowTarget.h 2016-01-18 05:56:00 +01:00