light decay according to distance curve

   2808   1   1
User Avatar
Member
537 posts
Joined: Dec. 2005
Offline
Hey .. just making a bunch of sparkles (out of a point cloud with instanced point lights).

The falloff is very difficult to control (according to distance) .. with the default light controls; I'm wondering if anyone has a way to do the decay according to a distance based curve? (Animation or otherwise)

thanks!
User Avatar
Member
401 posts
Joined:
Offline
There are some point cloud shader samples posted on odforce.
The surface gets shaded based on the distance to the points.
If you need to light a surface I'd take this.

If you need the light in a volume I guess you need to roll your own version of the ASAD light and plug a multiplier ramp/curve into the falloff calculation.
this is not a science fair.
  • Quick Links