render_path_forward.ts 755 B

123456789101112131415161718192021222324252627
  1. function render_path_forward_init() {
  2. }
  3. function render_path_forward_commands() {
  4. ///if is_paint
  5. render_path_paint_live_brush_dirty();
  6. ///end
  7. render_path_base_commands(render_path_forward_draw_forward);
  8. }
  9. function render_path_forward_draw_forward() {
  10. render_path_set_depth_from("gbuffer1", "gbuffer0");
  11. render_path_set_target("gbuffer1");
  12. render_path_draw_skydome("shader_datas/world_pass/world_pass");
  13. render_path_set_depth_from("gbuffer1", "gbuffer2");
  14. render_path_set_target("buf");
  15. render_path_bind_target("gbuffer1", "tex");
  16. render_path_draw_shader("shader_datas/compositor_pass/compositor_pass");
  17. render_path_set_target("buf");
  18. render_path_base_draw_compass();
  19. render_path_draw_meshes("overlay");
  20. render_path_base_draw_taa();
  21. }