RFR: 8255015: Inconsistent illumination of 3D shape by PointLight
Nir Lisker
nlisker at openjdk.java.net
Sun Oct 24 17:32:01 UTC 2021
On Sun, 24 Oct 2021 16:04:40 GMT, Andreas Heger <duke at openjdk.java.net> wrote:
> I tried to use the Node.snapshot method, but in this case the taken snapshot always had the correct illumination, no matter what display was used and even though the scene on the display showed the wrong illumination. I guess the snapshot method renders the node directly into an image and does not use the physical screen content and so the pixel scale factor does not play any role in this case.
Maybe this is why the [lighting system tests](https://github.com/openjdk/jfx/tree/master/tests/system/src/test/java/test/javafx/scene/lighting3D) pass on Retina screens.
-------------
PR: https://git.openjdk.java.net/jfx/pull/531
More information about the openjfx-dev
mailing list