pascal.winistoerfer Posted December 27, 2011 Posted December 27, 2011 Heyho How can i exclude a Node from DOF? For Example the Sky in a World. Sky is a Skydome Mesh (ObjectMesh) Thanks for the help in advance :)
ulf.schroeter Posted December 27, 2011 Posted December 27, 2011 As DOF is a post-processing-effect some masking within DOF fragment shader will be required. Might be possible to use depth texture and use some max z depth to decide if given pixel should be included into DOF blurring (even though I don't understand why to exclude sky from DOF processing as a sharp sky and a DOF blurred scene might look a little bit odd). Other alternative might be to enable auxiliary buffer rendering for specific nodes to initialize mask buffer texture.
pascal.winistoerfer Posted December 27, 2011 Author Posted December 27, 2011 maybe this helps more to understand why, ulf:
frustum Posted February 8, 2012 Posted February 8, 2012 Render composite shader will be more configurable. You will be able to exclude arbitrary objects from DOF and Motion Blur post processes.
Recommended Posts