Skip to content

instanceColor matrix not updating every time #1719

Answered by joshuaellis
marcelpi asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not getting this breakage, but my two cents on what you've done is instead of conditionally rendering items, why not just set their opacity to 0? IIRC building pieces e.g. a mesh is an expensive operation, so if you know you need it in a complex scene, it can sometimes be easier just to have it invisible until you require.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by marcelpi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants