pascal.winistoerfer Posted December 27, 2011 Share 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 :) Link to comment
ulf.schroeter Posted December 27, 2011 Share 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. Link to comment
pascal.winistoerfer Posted December 27, 2011 Author Share Posted December 27, 2011 maybe this helps more to understand why, ulf: Link to comment
frustum Posted February 8, 2012 Share 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. Link to comment
Recommended Posts