If I'm instancing a light onto geometry using the built-in V6 light instancing feature, how can I access the instance number within the light itself?
I need to assign unique names to the depth maps the light generates, thus I need the equivalent of foo`$PT`.pic, but $PT doesn't work at the object level.
thanks,
James
Light Instance Number?
3562 2 1- jamesa
- Member
- 48 posts
- Joined: July 2005
- Offline
- stevenong
- Member
- 1631 posts
- Joined: July 2005
- Offline
- AndrewVK
- Member
- 136 posts
- Joined: July 2005
- Offline
Please, don't stop only on the names for shadow map. The ideal solution would be to have a variable, let's say $IPT. It would allow to solve the problem with names: $OS.$IPT.$F.pic, and also allow to use it, for example, when it is necessary to instance the object in the “Run External Program” mode to transfer the attributes of the current point to the external program.
-
- Quick Links