GLSL Shader on 3D Ring not working

I started looking through your shader code and there’s nothing accessing the location of any vertices (uv coordinates) and no fragment is asking for the location of where it is relative to the shape.

As I’m looking through it I’m seeing copy-pasted code from here and not much else. In the end, the code is simply mapping screen space to values, and wherever a fragment is being drawn it is drawing that color.

Once again, your question isn’t a coding question regarding processing and it’s a question regarding GLSL and implementation of graphics language concepts.

Once again I suggest you read my response to another user’s question about GLSL code. It contains several resources to help you learn GLSL as well as writing shaders along with access to communities that can help you learn. There’s not much this forum can do for you otherwise.

1 Like