Files
armorpaint/paint/sources/render_path_forward.c
T

25 lines
746 B
C
Raw Normal View History

2026-03-09 13:17:15 +01:00
#include "global.h"
2026-03-06 12:56:38 +01:00
void render_path_forward_init() {}
2024-03-13 23:50:11 +01:00
2026-03-06 12:56:38 +01:00
void render_path_forward_draw_forward() {
2026-03-07 21:12:59 +01:00
render_path_set_target("gbuffer1", NULL, "main", GPU_CLEAR_NONE, 0, 0.0);
2025-09-23 16:57:33 +02:00
render_path_draw_skydome("Scene/world_pass/world_pass");
2024-03-13 23:50:11 +01:00
2026-03-07 21:12:59 +01:00
render_path_set_target("buf", NULL, NULL, GPU_CLEAR_NONE, 0, 0.0);
2024-03-13 23:50:11 +01:00
render_path_bind_target("gbuffer1", "tex");
2025-09-23 16:57:33 +02:00
render_path_draw_shader("Scene/compositor_pass/compositor_pass");
2024-03-13 23:50:11 +01:00
2026-03-07 21:12:59 +01:00
render_path_set_target("buf", NULL, NULL, GPU_CLEAR_NONE, 0, 0.0);
2024-03-13 23:50:11 +01:00
render_path_base_draw_compass();
render_path_draw_meshes("overlay");
2025-03-25 16:26:22 +01:00
render_path_base_draw_taa("buf", "gbuffer1");
2024-03-13 23:50:11 +01:00
}
2026-04-04 21:38:20 +02:00
void render_path_forward_commands() {
render_path_paint_live_brush_dirty();
render_path_base_commands(render_path_forward_draw_forward);
}