Use shaders from expamples

Hi i'm trying to understand and use the shaders from processing's examples, I'd like to take the Nebula one and to put it into a program that I made. But when I copy/paste the whole code where it should be, and take the .glsl file, I have an error when I start the program : Your shader needs to be of TEXTURE type to render this geometry properly, using default shader instead.

Also I'd like to put it behind another image or text maybe, but it doesn't seem to work so far. Thanks :)

Answers

Sign In or Register to comment.