2
$\begingroup$

Using this setup in animation nodes I created a phantom effect for my text with a wave modifier, but when I apply a boolean modifier it gets rid of the transparency of my text. Is there a way to apply the boolean without effecting the text transparency?

enter image description here

$\endgroup$
2
$\begingroup$

You are storing your transparency information in vertex colors layers. Some modifiers—including the boolean modifier—are destructive when it comes to mesh data such as vertex color layers. So upon applying a boolean modifier carrying vertex color data, the data is destroyed.

You have two ways to fix this, you either use another medium to pass the transparency information to cycles, or you dispense the boolean modifier in favour of another approach to achieve the same effect.

Dispense The Boolean Modifier

A more efficient approach would be to write a shader that changes the transparency of the fragments dynamically. Use the object space texture coordinates of an empty as the vector input of a Quadratic Sphere Gradient node and get the fragments that their gradient value is larger than zero. Use the output as a transparency mask and animate the empty location and scale to get the effect you had before:

Node Tree

$\endgroup$
  • $\begingroup$ This looks excellent! Do you have any suggestions for material I should read into/ google that would help me understand logic nodes / modifiers / anything else that had come up in the questions you have helped me with? $\endgroup$ – Nick Sieben Jan 14 at 15:40
  • $\begingroup$ @NickSieben Not really. Most of this knowledge is gained by experience. So spend a lot of time trying things around until you get the hang of it. Please accept the answer if it answers your question. $\endgroup$ – Omar Emara Jan 14 at 16:42
  • $\begingroup$ I will when I can try it tonight. Thank you $\endgroup$ – Nick Sieben Jan 14 at 17:17
  • $\begingroup$ I cant seem to get this working properly, I have it connected to a mix shader, mixing with the transparency node, and I have half a cube visible, but no amount of scale seems to effect it. Im not sure if I have the node connection proper after what you show. $\endgroup$ – Nick Sieben Jan 15 at 2:15
  • $\begingroup$ It could be broken in 2.8, I did get it to work in 2.79b $\endgroup$ – Nick Sieben Jan 15 at 2:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.