Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- compositor_node DirLight
- {
- in 0 mrt
- in 1 rt_output
- target rt_output
- {
- pass render_quad
- {
- material Deferred/DirLight
- input 0 mrt 0
- input 1 mrt 1
- }
- }
- }
- compositor_node CompositorRenderer
- {
- texture mrt target_width target_height PF_R8G8B8 PF_R8G8B8
- target mrt
- {
- pass clear
- {
- //colour_value 0 0 0 1
- }
- pass render_scene
- {
- }
- }
- out 0 mrt
- }
- workspace CompositorSampleWorkspace
- {
- connect CompositorRenderer 0 DirLight 0
- connect_output DirLight 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement