From b03109dbb087bd441c0e3905753f3dd97d44d7b8 Mon Sep 17 00:00:00 2001 From: quou Date: Thu, 2 Jan 2025 15:42:05 +1100 Subject: Simpler depth prepass shader --- c2.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'c2.cpp') diff --git a/c2.cpp b/c2.cpp index 39a57c4..d7b475e 100644 --- a/c2.cpp +++ b/c2.cpp @@ -273,9 +273,13 @@ extern "C" int entrypoint() { camera.asp = (float)bb.w / (float)bb.h; scene.update(camera, dev); ctx.debug_push("scene"); + ctx.debug_push("depth prepass"); scene.render(dev, &frame_arena, depth_prepass, clamped_linear); + ctx.debug_pop(); + ctx.debug_push("forward"); scene.render(dev, &frame_arena, pass2, clamped_linear); ctx.debug_pop(); + ctx.debug_pop(); ctx.debug_push("ui"); ui->render(&frame_arena, dev->get_backbuffer()); -- cgit v1.2.3-54-g00ecf