Skip to content

Commit

Permalink
default depth writing/reading off since this is intended for 2D
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelFB committed Jan 20, 2024
1 parent c073bf2 commit 5995fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Framework/Graphics/DrawCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ public struct DrawCommand()
/// <summary>
/// The Render State Depth comparison Function
/// </summary>
public DepthCompare DepthCompare = DepthCompare.Never;
public DepthCompare DepthCompare = DepthCompare.Always;

/// <summary>
/// If Writing to the Depth Buffer is enabled
/// </summary>
public bool DepthMask = true;
public bool DepthMask = false;

/// <summary>
/// Render Viewport
Expand Down

0 comments on commit 5995fad

Please sign in to comment.