Yes, I’m trying to write my own THREE.ShaderMaterial and I want to add a similar “roughness” parameter. Meanwhile I realised that all the related JS files (HDRCubeTextureLoader.js, PMREMCubeUVPacker.js, PMREMGenerator.js, RGBELoader.js) require the threejs module, so I just detached them (is that a bad practice btw?).
sinokgr
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Shader Material GLSL load texture HELP | 0 | 1021 | August 23, 2020 | |
| Using shaderMaterial from three.js DREI make the texture way darker than the original | 14 | 1982 | June 23, 2023 | |
| [SOLVED] How do we use map uniform with custom ShaderMaterial? | 23 | 15310 | June 24, 2018 | |
| Mesh physical material with custom shader as the map value | 1 | 1138 | March 8, 2022 | |
| Manually create a Physical Material | 10 | 4483 | November 14, 2019 |