mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
asdasd
This commit is contained in:
parent
9a5700addc
commit
39f86d8c30
13 changed files with 191 additions and 85 deletions
|
|
@ -51,6 +51,8 @@
|
|||
#include "materials/shaderData.h"
|
||||
#include "gfx/sim/cubemapData.h"
|
||||
|
||||
#include "materials/customShaderBindingData.h"
|
||||
|
||||
const MatInstanceHookType DeferredMatInstanceHook::Type( "Deferred" );
|
||||
const String RenderDeferredMgr::BufferName("deferred");
|
||||
const RenderInstType RenderDeferredMgr::RIT_Deferred("Deferred");
|
||||
|
|
@ -433,7 +435,10 @@ void RenderDeferredMgr::render( SceneRenderState *state )
|
|||
|
||||
//-JR
|
||||
//push along any overriden fields that are instance-specific as well
|
||||
//mat->setCustomShaderHandles()
|
||||
if (passRI->mCustomShaderData.size() > 0)
|
||||
{
|
||||
mat->setCustomShaderData(passRI->mCustomShaderData);
|
||||
}
|
||||
|
||||
// If we're instanced then don't render yet.
|
||||
if ( mat->isInstanced() )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue