|
|
@@ -160,6 +160,8 @@ void SetupViewport()
|
|
|
RenderPath@ effectRenderPath = viewport.renderPath.Clone();
|
|
|
effectRenderPath.Append(cache.GetResource("XMLFile", "PostProcess/FXAA2.xml"));
|
|
|
effectRenderPath.Append(cache.GetResource("XMLFile", "PostProcess/GammaCorrection.xml"));
|
|
|
+ effectRenderPath.Append(cache.GetResource("XMLFile", "PostProcess/Tonemap.xml"));
|
|
|
+ effectRenderPath.Append(cache.GetResource("XMLFile", "PostProcess/AutoExposure.xml"));
|
|
|
|
|
|
viewport.renderPath = effectRenderPath;
|
|
|
}
|