[B]Revision 978[/B]
[INDENT]Deferred Pipeline
Reduced old repetative copy and paste code.
Removed code using strings to set ShaderConstant values.
added Console::Variable motionblur_samples -- defaults to 2 which is like before. when set to 1 it will do a single sample and not copy it off to a buffer. setting this to 1 will result in things keeping their blur to themself but should prove to be better for top down games where the camera moves and stops abruptly.
Started converting project to use shaders directly instead of empty materials. comment out #define DEFERR_MAT line to have it use PushOverrideShader and PopOverrideShader. This unfortunately does not work and needs to be looked into more. The macros twards the top of CDeferredPipeline handle the difference between the two.
Also optimized some of the sorting of lights.
The pipeline should be fairly faster.
This requires updates to the shaders folder on game too.[/INDENT] [B]Changed Files:[/B]
[LIST]
[*]trunk/Source/deferredpipeline/CDeferredPipeline.cpp
[*]trunk/Source/deferredpipeline/CDeferredPipeline.h
[/LIST]
Committed By [B]Pat Glynn[/B]
Sorry, you need to Log In to post a reply to this thread.