2
$\begingroup$

I want to achieve a result like this.

I want to achieve a result like this.

As said in the title I want to have my volumetrics coloured like the glass material which they pass through. I've seen some old threads, but for some reason it doesnt work for me.

First picture is showing a hole , a white sunlight and a white volumetric. volumetric is working

Second picture adds the glass... And the volumetric lighting is gone.

no volumetric

Third picture is showing a white volumetric when I turn the shadows off for the glass. But I want coloured volumetrics!

Still white volumetrics ;(

Also activating all kinds of shadow caustics doesn't change anything. What am I doing wrong?

$\endgroup$
3

1 Answer 1

3
$\begingroup$

Updated

I think you are trying to achieve an effect like a stained glass window casting light on a wall.

1)Make the mist volume cube enclose the entire scene and enable mist in render passes, as you have done.

2)Turn up a spotlight to a large intensity, for example 10,000. Dial it down afterwards.

3)It is useful to use a principled volume and lower the density and increase the Anistropy value. The base color can be changed to white.

enter image description here

4)To get a color result- we can switch to Cycles.

5)In the window glass material, the effect is very amplified by plugging an image texture directly into a transparent BDSF node. If the chain is image texture+transparentBDSF+material output, you will see the effect very strongly.

enter image description here

6)An additional suggestion: Add a solidify modifier to the window and see if this affects your scene.

Other Considerations

  • From there you can refine the glass material by adding a light path node as the moderator indicated, or a fresnel.
    enter image description here

  • You can experiment with shadow caustics on both the light and the objects, or light paths.

  • You can add geometry nodes set up on the volume, in order to split the rays, and parent it to the light source.

  • The effect can be further exaggerated in compositing with "sunbeam" effect, which can add to the detail as well.

enter image description here

$\endgroup$
1
  • $\begingroup$ Ah, thank you for this insightful answer. I didn't know that I have to turn on shadows when using the transparent shader. $\endgroup$ Mar 15 at 14:46

You must log in to answer this question.

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