• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

VaM 1.x How do "X-ray" or transparency effect assets work in VAM?

Threads regarding the original VaM 1.x

leke

New member
Joined
May 6, 2024
Messages
26
Reactions
5
Hey everyone, I found an interesting assets: https://hub.virtamate.com/resources/the-magic-loupe-updated.10223/

This CUA loupe can cut out Atom's clothing. I'm really curious about the technical implementation behind this. If anyone has any insight into the tech or could point me toward some resources on how these custom material effects are structured, I’d be super interested in learning more. Thanks!!
 
There is no real magic behind that, the material of the magnifying glass is just a transparent material with a higher or lower render cue than clothes, which simply culls the clothes behind it. It's not doing anything fancy with the stencil buffer if that's what you're asking.
 
Upvote 0
There is no real magic behind that, the material of the magnifying glass is just a transparent material with a higher or lower render cue than clothes, which simply culls the clothes behind it. It's not doing anything fancy with the stencil buffer if that's what you're asking.
Thanks, maybe I need some time to learn more. But is there any way to change the render cue. The magnifying glass would also cut out hair, and I want to fix it.
 
Upvote 0
You can do it the other way (depending on the asset), change the render queue of hairs and clothes... hoping it's not too high/low to "override" the asset one.
 
Upvote 0
Back
Top Bottom