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)

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

Commit messages:
 - 8255015: Copy pixel scale factors from graphics object to subscene graphics 
so that the position of lights will be scaled correctly on retina displays

Changes: https://git.openjdk.java.net/jfx/pull/531/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=531&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255015
  Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jfx/pull/531.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/531/head:pull/531

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

Reply via email to