2
$\begingroup$

I have a light inside an object, and that object has a material with transparent parts.

I want to render light beams radiating from those parts with volume scatter, however, the light doesn't pass beyond the mesh.

Is there a way to let light pass through those transparent parts of the texture?

enter image description here

render nodes

$\endgroup$
  • 2
    $\begingroup$ Can you post your current nodes? $\endgroup$ – cegaton Mar 5 '17 at 19:13
  • $\begingroup$ I posted it in the main post because Im a noob and cant add images lol. I also tried using light path node but thats not working $\endgroup$ – Jared Mar 5 '17 at 19:21
6
$\begingroup$

You can use a mix shader connected to a transparency and diffuse nodes, the texture is the one that controls the mix:

enter image description here

Then just use volume scattering in the world volume.

Usually the default density for volume scatter is way to high, so play with the values until you find the right one for your needs.

keep in mind also that the emitter object inside might need to be quite bright.

$\endgroup$
  • $\begingroup$ I swear I have the same setup, even when I disable shadows for the object, volume scatter works, but otherwise, the light doesnt pass beyond the mesh at all.. I will try to play with it a bit, but thank you for your answer, as I see, it should totaly work $\endgroup$ – Jared Mar 5 '17 at 19:37
  • 1
    $\begingroup$ @Jared I uploaded the file for you as part of the answer. $\endgroup$ – cegaton Mar 5 '17 at 19:40
  • $\begingroup$ Thank you very much. I tried it in a new project with my object and your setup and it works. I must have changed something accidentally in the old one or I dont know. $\endgroup$ – Jared Mar 5 '17 at 19:51

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.