Skip to content

Commit

Permalink
Increased SceneNormals depth buffer to 32 bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
yahiaetman committed Sep 19, 2020
1 parent decb7bc commit 16c567c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/RenderFeatures/SceneNormals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void Setup(RenderTargetHandle destination)
public override void Configure(CommandBuffer cmd, RenderTextureDescriptor cameraTextureDescriptor)
{
RenderTextureDescriptor descriptor = cameraTextureDescriptor;
descriptor.depthBufferBits = 16;
descriptor.depthBufferBits = 32;
descriptor.colorFormat = RenderTextureFormat.RGHalf;
descriptor.msaaSamples = 1;

Expand Down

0 comments on commit 16c567c

Please sign in to comment.