render_path_forward.ts 680 B

12345678910111213141516171819202122232425
  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_target("gbuffer1", null, "main");
  11. render_path_draw_skydome("shader_datas/world_pass/world_pass");
  12. render_path_set_target("buf");
  13. render_path_bind_target("gbuffer1", "tex");
  14. render_path_draw_shader("shader_datas/compositor_pass/compositor_pass");
  15. render_path_set_target("buf");
  16. render_path_base_draw_compass();
  17. render_path_draw_meshes("overlay");
  18. render_path_base_draw_taa("buf", "gbuffer1");
  19. }