Skip to content

What does the mix node do in the default MOL_atomic_material? #117

Discussion options

You must be logged in to vote

For mesh / points (Surface style, Atoms Cycles & ribbon) the colour information is taken from the Geometry (top 'Attribute' node). For the styles that involve instancing of geometry like Ball and Stick & Atoms EEVEE, the instance needs to get its colour information from the Instanced instead of the geometry.

This is my 'elegant' (not at all) solution to mix between the two based on if the it is an instance or not. Is the instances absolute position is > 0, then it gets the colour from the Instancer otherwise it gets it from the geometry.

I certainly don't like this setup as is, but it's the best that I could come up with at the time to solve that little problem. Thinking about it, it's po…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by PlethoraChutney
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants