|
|
|
|
|
|
{ |
|
|
|
m_InitPreFGD = CoreUtils.CreateEngineMaterial("Hidden/HDRenderPipeline/PreIntegratedFGD"); |
|
|
|
|
|
|
|
// For DisneyDiffuse integration values goes from (0.5 to 1.53125). GGX need 0 to 1. Use float format.
|
|
|
|
m_PreIntegratedFGD = new RenderTexture(128, 128, 0, RenderTextureFormat.ARGB2101010, RenderTextureReadWrite.Linear); |
|
|
|
m_PreIntegratedFGD.filterMode = FilterMode.Bilinear; |
|
|
|
m_PreIntegratedFGD.wrapMode = TextureWrapMode.Clamp; |
|
|
|