|
|
|
|
|
|
public override void Build(HDRenderPipelineAsset hdAsset) |
|
|
|
{ |
|
|
|
PreIntegratedFGD.instance.Build(PreIntegratedFGD.FGDIndex.FGD_GGXAndDisneyDiffuse); |
|
|
|
//LTCAreaLight.instance.Build();
|
|
|
|
LTCAreaLight.instance.Build(); |
|
|
|
|
|
|
|
m_isInit = false; |
|
|
|
} |
|
|
|
|
|
|
PreIntegratedFGD.instance.Cleanup(PreIntegratedFGD.FGDIndex.FGD_GGXAndDisneyDiffuse); |
|
|
|
//LTCAreaLight.instance.Cleanup();
|
|
|
|
LTCAreaLight.instance.Cleanup(); |
|
|
|
|
|
|
|
m_isInit = false; |
|
|
|
} |
|
|
|
|
|
|
public override void Bind() |
|
|
|
{ |
|
|
|
PreIntegratedFGD.instance.Bind(PreIntegratedFGD.FGDIndex.FGD_GGXAndDisneyDiffuse); |
|
|
|
//LTCAreaLight.instance.Bind();
|
|
|
|
LTCAreaLight.instance.Bind(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |