Jump to content

[SOLVED] DOF: How to exclude Nodes?


photo

Recommended Posts

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
  • 2 weeks later...
  • 5 weeks later...
×
×
  • Create New...