jarcode-foss / glava

GLava - OpenGL audio spectrum visualizer
GNU General Public License v3.0
1.17k stars 59 forks source link

Cannot bind time uniform #139

Open rob-not-bob opened 4 years ago

rob-not-bob commented 4 years ago

In my fragment shader I have the following request

#request uniform "time" time
uniform float time;

Attempts to run this shader fail however Cannot bind uniform 'time': bind type does not exist!

I believe the .src_type here (https://github.com/jarcode-foss/glava/blob/master/glava/render.c#L657) being set to SRC_SCREEN instead of SRC_TIME could be part of the issue. However, I have not had time yet to test this out

jarcode-foss commented 4 years ago

Will be fixed in 2.0. Still working on ironing out more serious issues on my local branch with the new renderer.