branchsbox/ao-on-lighting-passcancel
9 Commits over 31 Days - 0.01cph!
[Pick] Bind RenderAttributes.SetParent, this is a method to pass arguments around that doesn't involve overriding/copying, this fixes not being able to set render attributes properly in child cameras like editor viewport, needs wide testing but should be fine, also fix looking for parent attributes on the attribute chain used on the pipeline
Remove SSAOEnabled, just needs a ref if DynamicAmbientOcclusionPP is initialized
Update shaders with AO on lighting pass
Internal HookAfterDepthPrepass
Darken AO texture since we're compositing to ambient lighting properly now
[Pick] Add SceneCamera.InternalAttributes for things that should never be overriden
[Pick] Add RenderAttributes.Remove
[Pick] Child cameras in UpdateSceneCamera also gets parent camera attributes
Remove renderhook hack on AmbientOcclusion, just pass attributes directly
Handle DynamicAmbientOcclusionPP enabling/disabling for mark
OnRenderDepthPrepass on SceneCamera
Add AfterDepthPrepassHooks, make AO composite to lighting rather than blitting to screen