Skip to content

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

@brcontainer

Description

@brcontainer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions