Constructor functions
// Texture coordinate generators rShParam n_hv = shParabolic(GL_H0,GL_T,GL_S,GL_N); rShParam n_lv = shParabolic(GL_L0,GL_T,GL_S,GL_N); // Define and compile shader expression shCompile(1, shModulate( shShift( shAdd( shModulate( shTexture(a,hv), shTexture(b,lv) ), shModulate( shSignedTexture(c,hv), shSignedTexture(d,lv) ) ), 3 ), shLighting(0) ) ); // Compile shader glShader(1);