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

How do i change Canvas background color of "imagesphere". #15

Open
Haideralee opened this issue Nov 4, 2017 · 1 comment
Open

How do i change Canvas background color of "imagesphere". #15

Haideralee opened this issue Nov 4, 2017 · 1 comment

Comments

@Haideralee
Copy link

I want to change my canvas background color and i tried and searching out to get any solution or way, i get some examples but that not working on "imagesphere".

here is an example what i tried to change the color.
https://developer.mozilla.org/en-US/docs/Learn/WebGL/By_example/Clearing_with_colors

Thanks.

@greggman
Copy link
Contributor

greggman commented Dec 1, 2017

Sorry for not answering this. I'm pretty sure there are several bugs in imagesphere with picking. But in any case I think you'd set the color on line 813?

gl.clearColor(0,0,0,1);

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