JDK-8108497 : Effects break Z-order
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx1.3
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2009-08-17
  • Updated: 2015-06-16
  • Resolved: 2011-02-28
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
Run attached application. It has Reflection effect in use. There is a stack of images with different z coordinates. 

On my machine, part of second image is shown above the first one, which is on top. See screenshot attached. 

When effect is disabled, images are rendered correctly. You can control effects by changing lines 26-27 of Stack3D.fx.
Comments
This issue is now captured in RT-11509 and RT-11510 with new simple test case to address the problem.
28-02-2011

Effect has no depth value, hence breaks when zbuffer is enabled. I've added a simple test program, EffectOnRect.java, to runtime/toys/zbuffertest/ to verify the fix to this bug.
06-01-2011

This may just be a matter of documenting the behavior -- see RT-5263
06-12-2010