question

sebastian mayer avatar image
sebastian mayer asked ·

how to assign shadow groups in HtoA???

Hi There,


It's quite essential in my current situation to have an exclusive shadow cast from one light and one object. the object needs to be ignored for shadow for all other lights so i can use it as specific shadow caster.

If I use Light Masks it only affects the objects illumination, Not the shadow.

I think I managed to activate shadow groups on the object using the "User Options"

as the shadows disappear:


use_light_group on use_shadow_group on shadow_group "L1"


But I cannot figure out how to assign a shadow group to the light as it does not seem to react to any of the built in ways. (AOV light goup)


I tried the"set parameter"node in ROP context but no luck:

string shadow_group = 'L1'


would be glad for any info on this.


Thanks


Seb

light groupshadow group
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

sebastian mayer avatar image
sebastian mayer answered ·

But how would I assign the according light group to the light?

otherwise they would not have any effect.

i basically need to exclude an object from a specific light source including its shadow.
sounds pretty straight forward but doesn't seem to work.

any idea how?

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Light groups and shadow groups are different things.

shadow groups are shape properties, and you set them on shapes only.

0 Likes 0 · ·
Stephen Blair avatar image
Stephen Blair answered ·

Shadow groups are a shape property, so you set it on shapes only.

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

But how would I assign the according light group to the light?

otherwise they would not have any effect.

i basically need to exclude an object from a specific light source including its shadow.
sounds pretty straight forward but doesn't seem to work.

any idea how?

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.