Create a shader, got error

Create a shader, got error

So, trying to create a shader and got this error,
what does it mean? how i could resolve it?

error EFX2201: non-sampler uniforms must be declared in blocks.

Perhaps this helps:

Thanks, that you made me to look at documentation, and it seems you were correct, there is a issue with declaration, so i put my uniform in a block like this -

uniform CustomMove {
    vec2 move;
1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.