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?).
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
GGX mipmap sampling | 0 | 796 | August 14, 2019 | |
ShaderMaterial and Colormanagement | 1 | 52 | February 17, 2025 | |
Using shaderMaterial from three.js DREI make the texture way darker than the original | 14 | 1610 | June 23, 2023 | |
THREE.Line2 mapping texture | 15 | 1897 | March 25, 2019 | |
Glsl shader as map source for meshStandardMaterial | 8 | 2756 | August 9, 2019 |