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

THREE.SpriteMaterial visible false not working #9257

Closed
Wilt opened this issue Jun 30, 2016 · 2 comments
Closed

THREE.SpriteMaterial visible false not working #9257

Wilt opened this issue Jun 30, 2016 · 2 comments

Comments

@Wilt
Copy link
Contributor

Wilt commented Jun 30, 2016

Description of the problem (three.js r78)

I can set visible = false for the material on objects (meshes/lines), so that these objects are hidden, but they will still work for raycasting. I wanted to do the same for sprites, but the visible property for THREE.SpriteMaterial does not work as expected; when setting it to false the sprite is still visible.

Here is a fiddle to demonstrate this

@mrdoob
Copy link
Owner

mrdoob commented Jun 30, 2016

Fixed. Thanks!

@mrdoob mrdoob closed this as completed Jun 30, 2016
@timon0305

This comment has been minimized.

Repository owner locked as off-topic and limited conversation to collaborators Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants