Define new fragment shader hooks: vec4 textureLayer*(vec4) with * for layer index