Refactor material shaders to use separate constant buffer (slot 1) for shared per-view constants
This commit is contained in:
@@ -695,6 +695,7 @@ DRAW:
|
||||
// Execute draw calls
|
||||
MaterialBase::BindParameters bindParams(context, renderContext);
|
||||
bindParams.Input = input;
|
||||
bindParams.BindViewData();
|
||||
if (useInstancing)
|
||||
{
|
||||
int32 instanceBufferOffset = 0;
|
||||
|
||||
Reference in New Issue
Block a user