GBufferResources were being used in TranslucentShadowDepthPS but not being set. They shouldn't be set as GBuffers aren't valid for this draw.
A similar issue occured a while ago in which the SceneTextureParameters were being used here and caused artefacts in the translucent shadows based on the SceneColor.
I avoided this by setting them to a dummy black texture. This approach won't work for the GBufferResources so I've removed that fix and gone about things differently.
The shader sets a define to have SceneTextureLookup() just return black.
This means the SceneTextures, nor the GBufferResources need be set at all for this draw.
[CL 2651076 by Simon Tovey in Main branch]
This is more correct for scanned textures as they include scattering already. Affects the look of emissive lighting (rarely needed and can be fixed by content). All diffuse lighting for SubsurfaceScatteringProfile is now done without the BaseColor (minor performance cost) and reading the Lighting before the SubsurfaceScattering pass would be different.
Removed the need for a SceneColor alpha channel as lighting is now stored in a checkerboard pattern for diffuse and specular separate. Specular and diffuse lighting on Subsurface materials can appear a bit less crips.
This means the use of 32bit SceneColor (for better performance) is now possible (we might change the defaults soon).
[CL 2640696 by Martin Mittring in Main branch]
Scanned textures (e.g. human face) include scattering so this is more correct for such assets. Affects the look of emissive lighting (rarely needed and can be fixed by content). All diffuse lighting for SubsurfaceScatteringProfile is now done without the BaseColor (minor performance cost) and reading the Lighting before the SubsurfaceScattering pass would be different.
[CL 2639545 by Martin Mittring in Main branch]
Fixed clear coat when sky but no reflection captures are present.
Fixed clear coat values were between 0 and 1 going gray.
[CL 2639167 by Brian Karis in Main branch]
- wasn't scaling right with ViewportSize, e.g. HighResScreenshot
- Missing a horizontal line in the 2d kernel
- Improved quality of the full res portion
- refactored to avoid one full res pass
- simplified Stereo rendering support
- In single viewport case it now goes down to 32bit texture format afterwards (input can be 32/RGB or 64/RGBA as before, without alpha it can look bad)
[CL 2637623 by Martin Mittring in Main branch]