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
  • 2
    $\begingroup$ Can you post your current nodes? $\endgroup$
    – user1853
    Commented Mar 5, 2017 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
    Commented Mar 5, 2017 at 19:21

1 Answer 1

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$
3
  • $\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
    Commented Mar 5, 2017 at 19:37
  • 1
    $\begingroup$ @Jared I uploaded the file for you as part of the answer. $\endgroup$
    – user1853
    Commented Mar 5, 2017 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
    Commented Mar 5, 2017 at 19:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .