Jump to content

Creating highlights (flares)


hopbin9

Recommended Posts

Yep, you can do this with a Limit, a Defocus & an Add COP.

1. Add a Limit COP

1a. Set the lower limit to the lowest hotspot value you want to flare

1b. Disable the upper limit

1c. Change "Clamped Values" to "Replace with Black"

2. Add a defocus COP to the Limit

2a. Play with the defocus size

2b. Play with the Boost factor, threshold and level. Threshold should likely be the hotspot value you entered for the Limit.

3. Add an Add COP

3a. Wire in Defocus

3b. Wire in the input to the Limit COP (the original node).

Link to comment
Share on other sites

You'll need to use the Pz image as a mask to the Defocus COP, and turn on "Per Pixel Defocus". But before you add Pz as a mask, you'll need to preprocess it a bit to get in the 0-1 mask range that Defocus expects. Append an Equalize COP to the Pz image, which will maps its near-far range to 0-1. Then a gamma COP will alter the rate at which the defocus effect is applied with respect to depth. Also make sure that the Defocus COP's Mask plane is set to the Pz plane, if that's the name of the depth channel.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...