Sorry for not returning so often to look for replies … And may I just say, that I look in on your LearningWebGL Blog several times a day … it’s a great place for tutorials and news from the WebGl community … Outstanding work …
Yes, the referenced code is okay, but if I want to use my own parameters/variables for texture lookup, as for example the following code ‘texture2D(uSampler, vec2(0.25, 0.25));’ … I get an error …
But maybe I should dig a little deeper into OpenGl to see if I can approach the problem from a wider perspective than that of the ‘Rookie’ …