- Home /
Question by
pragmascript · May 25, 2011 at 06:44 AM ·
shaderlightfalloff
point light custom falloff
would it be possible to implement a custom falloff/attenuation (like linear / none) for point light sources (maybe with custom shaders)?
Comment
Answer by alexandre-fiset · Sep 15, 2012 at 06:48 PM
Unity already use quadratic attenuation. I don't think it is currently possible to tweak that as it seems to be hardcoded in the engine. Only available through built-in macros in fragment shaders.
Answer by ohlong_johnson · Mar 27, 2013 at 04:51 AM
You can't because their inputs for light radius is broken.
Your answer
Follow this Question
Related Questions
change light attenuation calculation 0 Answers
Trying to create 2D pixel art lighting 1 Answer
Combinning light shading and slider? 1 Answer
Shader for Overlapping LIghts 0 Answers