Skip to content

toonpass - WebGL: INVALID_OPERATION... #6

@karimbeyrouti

Description

@karimbeyrouti

Issue: Three JS output scene is black. The scene flashes up on screen ( for 1 frame ) then goes black. This is using the toon.html demo from GIT ( no changes )

This happens only in Windows and the shader words as expect in OSX.
Setup: Chrome 33.0.1750.154 m (windows)
Tested in: Windows 7 & 8 ( all patched up)
Also happens in Internet Explorer.

Console output from Chrome:

Compiled Wagner.js:12
Could not initialise shader
VALIDATE_STATUS: false, gl error [0] three.min.js:494
Program Info Log: (350,29-95): error X3507: '_nearestLevel': Not all control paths return a value

Warning: D3D shader compilation failed with
default
flags.
Retrying with
avoid flow control
.

(350,29-95): error X3507: '_webgl_f362b64cb55e5d08': Not all control paths return a value

Warning: D3D shader compilation failed with
avoid flow control
flags.
Retrying with
prefer flow control
.

(350,29-95): error X3507: '_webgl_f362b64cb55e5d08': Not all control paths return a value

Warning: D3D shader compilation failed with
prefer flow control
flags.
Failed to create D3D shaders.
three.min.js:495
11
WebGL: INVALID_OPERATION: getUniformLocation: program not linked toon.html:1
21
WebGL: INVALID_OPERATION: getAttribLocation: program not linked toon.html:1
WebGL: INVALID_OPERATION: useProgram: program not valid toon.html:1
WebGL: INVALID_OPERATION: vertexAttribPointer: no bound ARRAY_BUFFER toon.html:1
WebGL: INVALID_OPERATION: useProgram: program not valid

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