You might find the CustomMaterial class useful for this (API doc, examples). Maybe something like below for example. ![]()
Blake
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| StandardMaterial style on ShaderMaterial | 3 | 864 | May 30, 2019 | |
| Extend the functionality of standard or PBR material with a custom vertex shader | 2 | 1251 | March 19, 2020 | |
| Combine Shader with StandardMaterial | 3 | 396 | September 16, 2019 | |
| How do I inject shader code into a standardMaterial? | 2 | 477 | May 15, 2023 | |
| How to do lighting with ShaderMaterial? | 11 | 646 | March 25, 2024 |