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 warning: RENDER WARNING: there is no texture bound to the unit 0 #13

Open
jywarren opened this issue May 18, 2016 · 1 comment
Open
Labels

Comments

@jywarren
Copy link
Owner

mrdoob/three.js#8666 seems to say it's a Chrome bug, and fixed in a more recent threejs release (which doesn't seem to be available on npm yet?)

/server/#key=zMjA:1 [.CommandBufferContext]RENDER WARNING: there is no texture bound to the unit 0
8/server/#key=zMjA:1 [.CommandBufferContext]RENDER WARNING: there is no texture bound to the unit 1
@jywarren jywarren added the bug label May 18, 2016
@jywarren
Copy link
Owner Author

Most of this seems to be related to line 26+ of the Star class: https://github.com/jywarren/starsandcrafts/blob/master/src/things/StarsAndCrafts.Star.js#L26-L71

The lens flares, in particular. But delaying load isn't making them go away.

Also, oddly, this delays the physics simulation, but doesn't seem to delay rendering or camera movement. You can (in server/god mode) move around almost immediately -- the physics just take a while to start until WebGL errors stop showing.

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

No branches or pull requests

1 participant