Blank texture in webGL
问题 I have simple quad, and very simple shader (see below). I load image needed for texture, process it, get uniform place in shader program, and send it, the way that has been explained in "learning webgl" examples. I tested everything and used webGL inspector to see the textures I've been using and the problem is that quad is whole black. In fragment shader, the line: gl_FragColor = texture2D( uSampler, vUV); actually always sets the fragment color to (0,0,0,1). So it's like "blank" texture, or