Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed shadow cascade tooltip when using the metric mode (case 1229232)
- Fixed how the area light influence volume is computed to match rasterization.
- Focus on Decal uses the extends of the projectors
- Fixed PBR shader ZTest rendering in deferred.

### Changed
- Color buffer pyramid is not allocated anymore if neither refraction nor distortion are enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@ static class Uniforms
public static RenderStateCollection PBRGBuffer = new RenderStateCollection
{
{ RenderState.Cull(Cull.Off), new FieldCondition(Fields.DoubleSided, true) },
{ RenderState.ZTest(Uniforms.zTestGBuffer) },
{ RenderState.ZTest(ZTest.Equal), new FieldCondition(Fields.AlphaClip, true) },
{ RenderState.ZTest(ZTest.LEqual), new FieldCondition(Fields.AlphaClip, false) },
{ RenderState.Stencil(new StencilDescriptor()
{
WriteMask = $"{ 0 | (int)StencilUsage.RequiresDeferredLighting | (int)StencilUsage.SubsurfaceScattering | (int)StencilUsage.TraceReflectionRay}",
Expand Down