|
![](/i/fill.gif) |
Am 01.04.2011 13:34, schrieb Jim Holsenback:
> As far as fade_distance ... I'm still investigating but I think the
> nugget here is what Christoph said:
>
> "As I already mentioned, the key is not the fade_power, but the
> fade_distance. Sufficiently far away from the light source - relative to
> fade_distance (or, in other words, with sufficiently small fade_distance
> relative to the scene dimensions) - the formula gets arbitrarily close
> to 1/x2. "
>
> I've been using:
> #declare LightDist = vlength(LightPos);
>
> as my value for fade_distance, Which is WRONG ... I want a smaller value
> for that and up the intensity of the light source to compensate ...
> @Christoph: Did I get that right?
Yup. For area lights, I typically use half the area light's size as
fade_distance; for point lights I pick some distance that might be a
reasonable radius of the light source (e.g. radius of a light bulb).
Post a reply to this message
|
![](/i/fill.gif) |