|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Predeclared to reduce GC pressure
|
|
|
|
string tilePassName = "TilePass - Deferred Lighting Pass"; |
|
|
|
string tilePassMRTName = "TilePass - Deferred Lighting Pass MRT"; |
|
|
|
|
|
|
int numVariants = 1; |
|
|
|
if (enableFeatureVariants) |
|
|
|
numVariants = LightDefinitions.s_NumFeatureVariants; |
|
|
|
|
|
|
|
|
|
|
|
hdCamera.SetupComputeShader(deferredComputeShader, cmd); |
|
|
|
|
|
|
|
for (int variant = 0; variant < numVariants; variant++) |
|
|
|
{ |
|
|
|