render_path_forward.ts 641 B

12345678910111213141516171819202122
  1. function render_path_forward_init() {}
  2. function render_path_forward_commands() {
  3. render_path_paint_live_brush_dirty();
  4. render_path_base_commands(render_path_forward_draw_forward);
  5. }
  6. function render_path_forward_draw_forward() {
  7. render_path_set_target("gbuffer1", null, "main");
  8. render_path_draw_skydome("Scene/world_pass/world_pass");
  9. render_path_set_target("buf");
  10. render_path_bind_target("gbuffer1", "tex");
  11. render_path_draw_shader("Scene/compositor_pass/compositor_pass");
  12. render_path_set_target("buf");
  13. render_path_base_draw_compass();
  14. render_path_draw_meshes("overlay");
  15. render_path_base_draw_taa("buf", "gbuffer1");
  16. }