On Wed, 9 Jun 2021 18:22:31 GMT, Andreas Heger <d...@openjdk.java.net> wrote:

> The inconsistent illumination happens on Macs with retina displays only if 
> the 3D shape is placed in a SubScene. The light sources are located with 
> wrong coordinates in sub scenes and this causes a different illumination. The 
> wrong coordinates for the light sources come from the fact that the retina 
> pixel scale factors are not used in a SubScene.
> 
> With this pull request, the retina pixel scale factors will be also used in 
> SubScenes and this should resolve the bug 
> [https://bugs.openjdk.java.net/browse/JDK-8255015](url)

This pull request has now been integrated.

Changeset: 161e434b
Author:    andreas-heger <he...@gmx.de>
Committer: Nir Lisker <nlis...@openjdk.org>
URL:       
https://git.openjdk.java.net/jfx/commit/161e434b1238d657f95e5ffcd3749027e066ca76
Stats:     184 lines in 2 files changed: 184 ins; 0 del; 0 mod

8255015: Inconsistent illumination of 3D shape by PointLight

Reviewed-by: kcr, arapte

-------------

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

Reply via email to