On Sun, 24 Oct 2021 16:04:40 GMT, Andreas Heger <d...@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

Reply via email to