compositor Godrays { technique { texture rt_scene target_width target_height PF_A8R8G8B8 target rt_scene { input previous } texture rt_raw target_width target_height PF_A8R8G8B8 target rt_raw { pass clear { clear { buffers colour depth stencil colour_value 0.0 0.0 0.0 1.0 // Clear by sky colour. Default is black } } pass render_scene // render_custom? { first_render_queue 40 last_render_queue 40 material Godrays/Raw/Obstacle } pass render_scene { first_render_queue 60 last_render_queue 60 material Godrays/Raw/Sun } } texture rt_blur target_width target_height PF_A8R8G8B8 target rt_blur { pass render_quad { material Godrays/Blur input 0 rt_raw } } target_output { pass render_quad { material Godrays/Combine input 0 rt_blur input 1 rt_godrays } } } }