husker-dev / openglfx

OpenGL node for JavaFX
Apache License 2.0
86 stars 12 forks source link

Strange transparency behavior #28

Closed dmitrykolesnikovich closed 1 year ago

dmitrykolesnikovich commented 1 year ago
glClearColor(0, 0, 0, 0)
glClear()

gives white not black. You can reproduce it with the example

husker-dev commented 1 year ago

You set the color to completely transparent black. This means that no pixels will literally change.
The background color will be the same as the background color of the parent component.

My advice to you is to try using OpenGL separately from openglfx first.