hizzlekizzle / quark-shaders

A repository of GLSL #150 pixel shaders for use with byuu's Higan emulation package.
GNU General Public License v2.0
184 stars 27 forks source link

Fix CRT-Glow. #4

Closed orbea closed 6 years ago

orbea commented 6 years ago

With bsnes CRT-Glow will produce a white screen and the following error.

[ruby::OpenGL: shader compiler error]
0:21(21): error: cannot access field `x' of non-structure / non-vector
0:21(21): error: type mismatch
0:21(21): error: operands to arithmetic operators must be numeric
0:27(16): warning: `base_phase' used uninitialized

Please review this to make sure its right, I'm not sure what the shader should look like, just now that its not a white screen and doesn't produce errors.

hizzlekizzle commented 6 years ago

Weird that it cares about that, but your fix is correct. Merged.