PDA

View Full Version : Vague Warnings



tbl8
05-16-2012, 08:13 AM
Hi,

I'm new here. These warnings my not be vague to you, but I have never seen them before:

WebGL: INVALID_ENUM: enable: invalid capability /panickos/:1
3WebGL: INVALID_VALUE: texImage2D: invalid image /panickos/:1
3WebGL: INVALID_VALUE: texImage2D: invalid image /panickos/:1
3GL_INVALID_ENUM : glActiveTexture: texture_unit out of range. /panickos/:1
WebGL: too many errors, no more errors will be reported to the console for this context.

They aren't telling me where they occur, but rather just the first line of my html file. Any help or advise would be greatly appreciated. I am using the latest version of Chrome and my webgl context is experimental-webgl.

williamsma
05-16-2012, 04:56 PM
I've not seen those errors either, perhaps because I am using Firefox, not Chrome. First check would be to validate that the texture image dimensions are powers of 2.

I would also see what errors Firefox gives - can't hurt.
And maybe post the Shader language code if possible since I think the errors are coming from the GLSL code, but that's just my guess.