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
Feature/add instanced mesh #69
Feature/add instanced mesh #69
Conversation
Add window favicon and update Kotlin to 1.3.72
Merge from master fork
Custom mouse events
Merge with threekt master
Update master
Add multi material ray intersecting for indexed and non-indexed buffe…
…dering with raycasting. Add HemisphereLight support. Add instanced mesh example.
For some odd reason the |
But it does? removing one of the lights clearly alters the perceived color of the spheres |
Nice work btw |
Well. The geometries should turn white like in the original example without the custom 'whitesmoke' color. If I remove the 'whitesmoke' color the geometries will turn black instead of white. |
Aight, I see what is happening. |
Pushed a fix to master. Default rgb color is now white, not black |
Ah, good job. |
With
InstancedMesh
we can render the same geometry thousands of times with only 1 draw call. This is a big performance boost :)I've implemented this example: https://threejs.org/examples/webgl_instancing_raycast
Since r106 didn't have this feature, I ripped it from the last threejs release (r125).