VEX: Getting number of objects with deep shadow

   1932   0   0
User Avatar
Member
22 posts
Joined: 6月 2008
Offline
Hello,

Assume we have several strands lit with one light that uses deep shadow map.

How can one get number of strands that are between current shading point and light?

Please see the attached picture.

I've tried dsmpixel() function but it gives only one value if strands are opaque.

Is there some other way?

Attachments:
pic01.jpg (120.4 KB)

TD @ Mr.X Inc
  • Quick Links