Community
Maya Shading, Lighting and Rendering
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya materials topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

objects get secondary light but have no lightLinker connection

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
BurkhardRammner
475 Views, 2 Replies

objects get secondary light but have no lightLinker connection

So, here`s the next lightLinker related weird behavior:

I have objects which do NOT get light from a light ( no lightLinker.link connection and for test purpose a lightIngore connection).

And I have objects which ARE connected the the lightLinker.link attribute. Those objects are correctly lit.

 

But!

 

The objects which should not be lit are lit by secondary light rays of the lit objects.

So, is this by design?

Can I somehow prevent the objects which should not be lit from getting some light?

thanks for help!

 

(renderer: arnold)

 

2 REPLIES 2
Message 2 of 3
mspeer
in reply to: BurkhardRammner

Hi!

 

"So, is this by design?"

- Yes. There will be some rays shoot out from the object to check for light. Some will hit a light which can be ignored when the light is not linked and some will hit a surface (diffuse lighting), but there is no information where this light comes from.

 

"Can I somehow prevent the objects which should not be lit from getting some light?"

To prevent light on a certain object, incl. diffuse lighting, you can use

a) an other shader like aiFlat,

b) disabling diffuse lighting in Render Settings or per light, or

c) AOVs + Render Layers, to control this in post.

...

Message 3 of 3
BurkhardRammner
in reply to: mspeer

thank you, @mspeer

 

setting the individual lightShape 'indirect' attribute to zero was it!  : )

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report