JDK-8311640 : Black color seen in Ensemble8 3D demos
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2023-07-07
  • Updated: 2023-09-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalUnresolved
Related Reports
Blocks :  
Blocks :  
Relates :  
Description
Regression is observed in Ensemble8 3D demos as compared to last month's run.
Please refer to the attached screenshots.

This is observed on macOS Ventura 13.2.1 on a x86_64 macBook with discrete graphics card.
Comments
Thanks [~aghaisas] for sharing new 3D Box difference. I think this also might be specific to x86 as i see red tinge in both Metal and OpenGL for 3D Box in M1. Attached image for reference.
31-08-2023

This is still reproducible in the latest test run. Another observation is for "3D Box" demo that could be related - In ES2 the top and right side of the Box although appears black has a red tinge - RGB=(46,0,0) In metal, these two faces appear Black with RGB=(0,0,0) It might be an oversight in earlier testing due to the shadow appearing almost black.
31-08-2023

Made changes to not pass bool variable(Because this is reproducible only in x86 and padding can be an issue) in fragment shaders uniforms and use float4 vector only to pass all texture map related flags and shared the patch with Ambarish. Even with this patch issue is seen.
17-07-2023

This is not reproducible in M1 aarch64 Macbook Pro which is have. This is reproducible only on x64 machines. Also [~arapte] helped me to identify that this issue is happening after JDK-8310658 change.
10-07-2023