i continously get this error : The shader doesn't have a uniform called "normalMap"
but yes it does.
the shader is defined as a TexLight shader and in the fragment shader i defined two uniforms :
uniform sampler2D texture;
uniform sampler2D normalMap;
the sampler2d "texture" will be automatically applied by processing
the normalMap shoud hold the normal map...
when calling : myShader.set("normalMap",normalMap);
then i get this error.
Please can someone help me...i think this error might be caused by processing trying to help managing the uniforms - but whatever it is - i cant track down the problem.
ofxOpenNI – created by gameoverhack – openNi wrapper to read captrued data from the kinect camera in realtime.
ofxCV – created by Kyle McDonald – fast openCV wrapper.
ofxFluidSolver – created by Memo Atken. After Years, it is still one of my favourite calculation models to illustrate continous flow of a dancer and graphics.
ofxUI – created by rezaali – having worked a lot in processing, i completly fell in love with this GUI library as it speeds up my tweaking processes. Its easy to use and fast to bind to variables.
for calibration i used the methods by kimchiAndChips...please check them out - Really Helpfull