THREE-CustomShaderMaterial
THREE-CustomShaderMaterial copied to clipboard
Extend Three.js standard materials with your own shaders!
I _hope_ it was a typo :)
I'd like to extend the three.js ShadowMaterial so I can apply shadows to my custom shader. When I try to do this my shader code gets ignored and the default...
When in opaque mode, my shader uses diffuse color to allow there to be lighting on the mesh. When not in opaque mode, my shader forms a neon overlay. But...
No idea is there some new maps to add aside of those two. anisotropy?
It was a bit hard to understand the code for the first time when the color highlight was strange. Moreover, the double curly brackets `patchMap={{}}` wasn't right.
I get this error after importing, what's going on, I don't have crypto in my project error message:Failed to resolve module specifier "crypto" version:three-custom-shader-material 5.3.8
Was checking out the project and noticed that a couple of the examples seemed to be broken? * Hero (Macbook Pro M1 Pro) https://codesandbox.io/s/github/FarazzShaikh/THREE-CustomShaderMaterial/tree/main/examples/hero ![Screenshot 2024-05-27 at 3 34 09 ...
I'm confused between how to have 1 CSM materials for multiple `mesh`, and how to have multiple CSM materials for multiple `mesh` I expect this code produce 2 different CSM...