karma light visible

   250   2   0
User Avatar
Member
59 posts
Joined: Jan. 2015
Offline
how in a karma shader can I identify if a surface is receiving light from a source. Imagine things start to glow when ever a shadow covers them. I thought I could just brute force it and build something in sops, but I can't import LOP lights into a sop context.

There are AOV's that give you that type of info, but I actually want it in the shader, and not some comp post process.
Any ideas?

Thanks
User Avatar
Member
8186 posts
Joined: Sept. 2011
Offline
Lighting is deferred in Karma: the material has no ability to do lighting or shadowing. A composite post process is probably the correct approach in this case--using the slap comp framework makes it possible to have a post process seamlessly applied without a separate step.
User Avatar
Member
59 posts
Joined: Jan. 2015
Offline
thank you for the info,
  • Quick Links