Screen space decals in deferred should render into all GBuffers. Currently they only render into the Emissive/GI/Lighting buffer.
Steps to reproduce:
- Open attached project
- Look at the game view
Expected: Decal projects areas that are completely smooth and metallic
Actual: Decal doesn't modify the GBuffers and therefore inherits the smoothness, metallic and AO of whatever was underneath.
Side note:
Screen space decals seem to be injected after SSAO. This results in an unnecessary render target switch as the decals could be rendered right after the GBuffer pass in stead. Would be great to see this fixed as well!