FarazzShaikh / THREE-CustomShaderMaterial

🧩 Extend Three.js standard materials with your own shaders!
https://farazzshaikh.github.io/THREE-CustomShaderMaterial/
MIT License
891 stars 56 forks source link

Add PointsMaterialProps to iCSMAllProps type #15

Closed dsa closed 2 years ago

dsa commented 2 years ago

Adapting your example here: https://blog.farazshaikh.com/stories/rendering-1-m-particles/

But using TS + React Three Fiber and can't pass a size prop to CustomShaderMaterial without TS getting upset. 😞

FarazzShaikh commented 2 years ago

Hey! CSM’s API has been updated since that post. Can you share some code? Does your code work with ts-ignore?

FarazzShaikh commented 2 years ago

Closed via v3.2.10