mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-11-04 21:01:48 +00:00
Render 2D with depth, reverse depth of camera projection
dirty fix in Renderer...
This commit is contained in:
@@ -758,10 +758,14 @@ namespace GlitchyEngine.Renderer
|
||||
return;
|
||||
|
||||
SortInstances();
|
||||
|
||||
RenderCommand.SetDepthStencilState(Renderer.[Friend]_meshDepthStencilState);
|
||||
|
||||
DrawDeferredQuads();
|
||||
DrawDeferredCircles();
|
||||
DrawDeferredLines();
|
||||
|
||||
RenderCommand.SetDepthStencilState(Renderer.[Friend]_fullscreenDepthState);
|
||||
}
|
||||
|
||||
private static void DrawDeferredQuads()
|
||||
|
||||
Reference in New Issue
Block a user