paint: cleanup

This commit is contained in:
luboslenco
2026-06-04 11:00:05 +02:00
parent a940b75f90
commit 114efb2458
183 changed files with 637 additions and 632 deletions
@@ -0,0 +1,25 @@
#include "../global.h"
void render_path_forward_init() {}
void render_path_forward_draw_forward() {
render_path_set_target("gbuffer1", NULL, "main", GPU_CLEAR_NONE, 0, 0.0);
render_path_draw_skydome("Scene/world_pass/world_pass");
render_path_set_target("buf", NULL, NULL, GPU_CLEAR_NONE, 0, 0.0);
render_path_bind_target("gbuffer1", "tex");
render_path_draw_shader("Scene/compositor_pass/compositor_pass");
render_path_set_target("buf", NULL, NULL, GPU_CLEAR_NONE, 0, 0.0);
render_compass();
render_envsphere();
render_path_draw_meshes("overlay");
render_path_base_draw_taa("buf", "gbuffer1");
}
void render_path_forward_commands() {
render_path_paint_live_brush_dirty();
render_path_base_commands(render_path_forward_draw_forward);
}