[Rev 03] RFR: 8217472: Add attenuation for PointLight

Kevin Rushforth kcr at openjdk.java.net
Fri Jan 10 00:20:45 UTC 2020

On Sat, 4 Jan 2020 18:22:29 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

>> Right. This needs to talk about pixels. Perhaps there is a way to make it more clear that we are talking about pixels that are part of a rendered Shape3D, but I don't have a good suggestion right now.
> Maybe
> A light source that radiates light equally in all directions away from itself. The location of the light
> source is a single point in space. The light affects {@code Shape3D}s in its {@code scope}. Any pixels in
> the light's {@code range} that belong to a {@code Shape3D} will be illuminated by it according to the
> computation specified in {@link PhongMaterial}.
> The docs of `PhongMaterial` will need need to be updated too.

Yes, I think that change to the docs looks good.


PR: https://git.openjdk.java.net/jfx/pull/43

More information about the openjfx-dev mailing list