--- old/modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGShape3D.java 2015-05-06 16:28:07.000000000 -0700 +++ new/modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGShape3D.java 2015-05-06 16:28:07.000000000 -0700 @@ -112,7 +112,7 @@ // is a single point white point light at camera eye position. meshView.setAmbientLight(0.0f, 0.0f, 0.0f); Vec3d cameraPos = g.getCameraNoClone().getPositionInWorld(null); - meshView.setPointLight(pointLightIdx++, + meshView.setPointLight(pointLightIdx++, g.getPixelScaleFactor(), (float)cameraPos.x, (float)cameraPos.y, (float)cameraPos.z, @@ -151,7 +151,7 @@ NGPointLight light = (NGPointLight)lightBase; if (rL != 0.0f || gL != 0.0f || bL != 0.0f) { Affine3D lightWT = light.getWorldTransform(); - meshView.setPointLight(pointLightIdx++, + meshView.setPointLight(pointLightIdx++, g.getPixelScaleFactor(), (float)lightWT.getMxt(), (float)lightWT.getMyt(), (float)lightWT.getMzt(), @@ -173,7 +173,7 @@ // TODO: 3D Required for D3D implementation of lights, which is limited to 3 while (pointLightIdx < 3) { // Reset any previously set lights - meshView.setPointLight(pointLightIdx++, 0, 0, 0, 0, 0, 0, 0); + meshView.setPointLight(pointLightIdx++, 0, 0, 0, 0, 0, 0, 0, 0); } meshView.render(g);