Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGL: INVALID_VALUE: texImage2D: width or height out of range #5

Open
brcontainer opened this issue Jan 25, 2014 · 2 comments
Open

Comments

@brcontainer
Copy link

Google Chrome 32:

WebGL: INVALID_VALUE: texImage2D: width or height out of range ThreeDebug.js:14388

Waring (probably issues this warning because of previous error):

[.WebGLRenderingContext]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'


Firefox 26:

Error: WebGL: texImage2D: the maximum texture size for level 0 is 4096 ThreeDebug.js:14388


The problem is apparently here:

_gl.texImage2D( _gl.TEXTURE_2D, 0, _gl.RGBA, _gl.RGBA, _gl.UNSIGNED_BYTE, texture.image );

I believe that some object has not received valid data, perhaps a "console.log" to help find the problem.

@niklasvh
Copy link
Owner

browser/os?

@brcontainer
Copy link
Author

Firefox 26 (Windows 7 64bit)
Google Chrome 32 (Windows 7 64bit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants