Excluding lights from Vray environmental fog

Excluding lights from Vray environmental fog

reniferziolo
Advocate Advocate
6,891 Views
10 Replies
Message 1 of 11

Excluding lights from Vray environmental fog

reniferziolo
Advocate
Advocate

Hello fellow Maya users.

 

I was wondering if there is a simple way to remove  a light from the environmental fog (for example a rim light)

In arnold it's as simple as zeroing the volume samples but can't realy figure it out with vray.

 

Any help appreciated!

 

kind regards

0 Likes
Accepted solutions (1)
6,892 Views
10 Replies
Replies (10)
Message 2 of 11

reniferziolo
Advocate
Advocate

I did assign the fog to the containers shading group. I made the light in question have no effect on the container. It's excluded from the fog but the make invisible chceckbox has no effect. Screenshot attatched:

 

problem.png

0 Likes
Message 3 of 11

damaggio
Mentor
Mentor

Vray fog, displacement,object properties and other features work inside of a set, just look in the outliner, there's a plus sign where you can see objects inside the set , I would not use a container for fog, just drag your light inside the environment fog , those will be affecting the fog,

read the docs again , I think is self explanatory  there.

good luck.

0 Likes
Message 4 of 11

damaggio
Mentor
Mentor

Also Jennifer , keep in mind there's a dedicated Vray forum at Chaos group you should use to get better assistance.

cheers.

0 Likes
Message 5 of 11

damaggio
Mentor
Mentor
Accepted solution


EnvironmentFog_Lights.jpg

Message 6 of 11

damaggio
Mentor
Mentor

 

Lights.jpg

 

0 Likes
Message 7 of 11

reniferziolo
Advocate
Advocate

Hello and thanks for your detailed explanation.  The chaos group forum is read only, I'm waiting for my account approval 🙂 

Ok so I didn't mention  that I used the environmental override to create the environmental fog, then tried the solution with the container. There aren't any lights in the dropdown menu when using the solutions I just mentioned.

When I create  the vray environmental fog on it's own (via hypershade editor) then drag and drop the lights in the outliner it simply doesn't work (i guess it doesnt know what to affect?) Is there a way to force the fog to use custom made light set instead of the defaultLightSet present in every scene? I would like the sphere light to add reflection to the flying soucer only, but not be affetced by the fog at all.  

 

kind regards

problem_2.PNG

0 Likes
Message 8 of 11

reniferziolo
Advocate
Advocate

I'm enclosing the sceenshots that illustrate best what I'm looking and hoping to achieve. First is my current scene in vray with both white and red lights affected by fog. The second on is rendered via arnold. We can see the redlight still affecting the diffuse of the cube but it is excluded from fog.vrayvrayarnoldarnold

0 Likes
Message 9 of 11

reniferziolo
Advocate
Advocate

Both of the lights are still visible. Changing the light mode even to "no lights" has no effect on the scene whatsoever
problem_4.PNG

0 Likes
Message 10 of 11

reniferziolo
Advocate
Advocate

Me again. It worked but only if the fog is applied in the containers shading group.

 

thanks!

0 Likes
Message 11 of 11

Anonymous
Not applicable

this is really helpfull man thanks a lot