micahpearlman / MonkVG

MonkVG is an OpenVG 1.1 like vector graphics API implementation optimized for game use currently using an OpenGL ES backend that should be compatible with any HW that supports OpenGL ES 2.0 which includes most iOS and Android devices.
Other
376 stars 66 forks source link

Shaders don't work at all #41

Closed gerchicov closed 2 years ago

gerchicov commented 10 years ago

I tried to change params in vertex and frame shaders but with no result. Even if I assign a constant value directly then they don't display any changes. For example line: gl_FragColor = vec4(0.0, 0.0, 1.0, 1.0); should color something in blue color but nothing is happened. The same situation is for vertex shader.

I also tried to use some code from another application but it seems your code not only simply doesn't work with shaders but also ignores/clears any outer shaders' commands which I try to add from another application.

The same problem is with your another project - MonkSVG