Restricting atmosphere effects to a cube

Restricting atmosphere effects to a cube

Anonymous
Not applicable
602 Views
2 Replies
Message 1 of 3

Restricting atmosphere effects to a cube

Anonymous
Not applicable

Greetings to all.

Is there any way to restrict an atmosphere_volume to a cube or other enclosed mesh? I don't want to apply it to my entire scene- just a specific portion of it. I only need it to affect a certain group of lights within an enclosed space, and not the lights outside of that space.

I realize I can just set the volume contribution of the lights I don't want affected by the atmosphere to 0, but I'd rather not have to do this for each and every light that I create.

Alternatively, is there any way to make the standard volume act the same way as the atmosphere_volume shader does? I don't want the darkening effect of the standard_volume shader, just the nice light rays and shadows that the atmosphere_volume gives me.

Cheers,

-CMPX

0 Likes
603 Views
2 Replies
Replies (2)
Message 2 of 3

zenop
Advocate
Advocate

Not sure about c4d specifics, but you should be able to do that using 3D projections / layered 3d projections in the same way as you’d map a fractal to the density. Just instead of it repeating through the whole world space, projections are contained to a certain size.

0 Likes
Message 3 of 3

lee_griggs
Autodesk
Autodesk

You could try converting a cube to a mesh volume.

Lee Griggs
Arnold rendering specialist
AUTODESK
0 Likes