Over December I’ll be posting 100 fun insights in this thread from working on @triplex.dev in my free time for two (!) years. It’s the longest and largest side project I’ve worked on. Keep an eye out, will be a fun one! #threadapalooza #threadapalooza2024
Post
8. … we can get somewhere. So instead of storing all the metadata in a Three.js scene we only store against host elements as an extra field on the object, and for components we store in React context. Then it’s a matter of on raycast of an object look up the context tree for its component owner. 👌
0 reposts0 likes
11. What helped me crack the shader was this article io7m.com/documents/ou... Super useful if you're looking to do something yourself. During the frame loop when something is selected it is given a specific layer, I then exclusively render objects that have this layer only to a texture and use...
io7m.comSimple GPU Outline Shaders