Toot

Written by kandid on 2024-12-13 at 19:08

@CFDS I had a similar issue. The fade out of a shape should have slowly faded to complete black. But a gray remnant of the original shape always remained visible. The only way to eliminate it was to change the framebuffer from 8 bit integers to 4 byte float per channel.

However, this meant that I switched from JavaFX (probably 8 bit color depth per channel) to lwjgl (GL_RGBA32F ... GL_FLOAT).

https://gitlab.com/metagrowing/jean/-/blob/main/src/jean/render/lwjgl/Binding.java?ref_type=heads#L204

Warning: I am not sure if WebGL supports this.

=> More informations about this toot | View the thread | More toots from kandid@chaos.social

Mentions

=> View CFDS@vis.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113647086325487435
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
239.500806 milliseconds
Gemini-to-HTML Time
0.365493 milliseconds

This content has been proxied by September (3851b).