How to "setUniform()" set the uniform sampler2D parameter.
In cg, we use texture id to identify a texture and pass it to shader. so, I use "so.setUniform("FurColor",furcolor.getTextureId());".
ceate a texturestate with your textures and set it on your object:
sphere.setRenderState(textureState)
exactly, first you need to set the textures on a texturestate(and the state on the object) as usual.
then, the sample2d uniform should be set to the corresponding textureunit.