kosua20 / MIDIVisualizer

A small MIDI visualizer tool, using OpenGL
MIT License
1.02k stars 136 forks source link

Fix key light issue on Linux #115

Closed Fabien-Chouteau closed 1 year ago

Fabien-Chouteau commented 2 years ago

Hello,

This is a tentative fix for #105. I changed the type of uniform buffer to avoid what seems to be a memory layout issue.

It's my first time messing with shaders and I only checked the results on Ubuntu ^^

Cheers,

kosua20 commented 1 year ago

Hello, apologies for the very late reply, and a huge thank you for submitting this fix! I've managed to reproduce the issue on Ubuntu with the Mesa driver, but for now going back to a "regular" uniform seems to be the only solution.

Fabien-Chouteau commented 1 year ago

Hey, no problem I know how it is. I'm glad I could help.