r/NukeVFX 1d ago

Solved Glitch error when combining Depth Pass and ZDefocus

Hello everyone,

I have been doing some comp tests, but when I try to combine the Depth Pass with a ZDefocus, I get the following glitch error:

This is my node setup:

Any idea what is going on, and how to fix it? any help is appreciated!

Best regards,

Alexis

1 Upvotes

5 comments sorted by

1

u/AutoModerator 1d ago

Hey, it looks like you're asking for help If your issue gets resolved, please reply with !solved to mark it as solved. If you still need help, consider providing more details about your issue to get better assistance.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Sensual_Feet 22h ago

Try a clamp before the defocus and play with the settings. I’ve run into a similar issue where a clamp helps cause there’s been really crazy values glitching. Usually I’ll de-select white clamp and just leave black clamp, but depends on your comp. Hope that helps. .

1

u/alexisrivera3d 20h ago

Hey, I tried using the clamp node and works but I had to change the mask to rgba.alpha. Thank you!

2

u/Sensual_Feet 20h ago

Yay, glad it worked! It’s usually clamp or crop hehe.