|
|
|
|
|
|
|
|
|
|
postprocessRenderContext = new PostProcessRenderContext(); |
|
|
|
|
|
|
|
m_AdditionalCameraData = cam.GetComponent<HDAdditionalCameraData>(); |
|
|
|
m_AdditionalCameraData = null; // Init in Update
|
|
|
|
|
|
|
|
Reset(); |
|
|
|
} |
|
|
|
|
|
|
public void Update(FrameSettings currentFrameSettings, PostProcessLayer postProcessLayer, VolumetricLightingSystem vlSys) |
|
|
|
{ |
|
|
|
// store a shortcut on HDAdditionalCameraData (done here and not in the constructor as
|
|
|
|
// we do'nt create HDCamera at every frame and user can change the HDAdditionalData later (Like when they create a new scene).
|
|
|
|
m_AdditionalCameraData = camera.GetComponent<HDAdditionalCameraData>(); |
|
|
|
|
|
|
|
m_frameSettings = currentFrameSettings; |
|
|
|
|
|
|
|
// If TAA is enabled projMatrix will hold a jittered projection matrix. The original,
|
|
|
|