Very Simple Shader Question
Hi everyone, I am using an "explosion" jxs file posted by Rob Ramirez here a couple days ago. I went into the code to try and add a very basic adjustable RGBA functionality, but keep on receiving Error 0:67 undeclared identifier. I essentially just tried to mimic his method of creating parameters, but am clearly missing a step. If someone could tell me why the variables Rcolor, Gcolor,Bcolor, and Acolor receive the Error 0:67 undeclared identifier error, that would be great. Thx for your time :)
These:
uniform float Rcolor;
uniform float Gcolor;
uniform float Bcolor;
uniform float Acolor;
Need to go in the fragment shader, not the vertex shader like you have them.
great thx!