Skip to content

WebGL x regl different results #62

@augustoicaro

Description

@augustoicaro

Thank you Jeremy for this amazing work!

I found this project a few years ago. Finally, last week, I started my journey to adapt your matrix rain as Vivaldi background start page, as I did before with a simpler matrix rain, and then adapt the shader for Unity so we can have something like the Apple Vision Pro matrix effect.

On the Vivaldi browser adaptation, my first problem was a CORS related policy on Vivaldi that prevented regl from compiling the shaders. So I switched to webGL and noticed a huge difference in the bloom effect on my computer:

Screenshot from 2024-10-29 09-10-50

Investigating the bloom shader, I noticed a slightly different implementation from the regl shader, but even matching the shader code and decreasing the bloomStrength value, I didn't get the crisp text as in regl variant. So, testing the animation without the bloom effect, I noticed yesterday that webgl animation has a blur in the text:

Screenshot from 2024-10-29 09-09-02

I will investigate this blur today, but I decided to bring this issue up to see if you know what can be the cause of this issue.

Thanks for sharing this amazing matrix effect! 🫂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions