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 | 717 | August 14, 2019 | |
Using shaderMaterial from three.js DREI make the texture way darker than the original | 14 | 766 | June 23, 2023 | |
THREE.Line2 mapping texture | 15 | 1534 | March 25, 2019 | |
Glsl shader as map source for meshStandardMaterial | 8 | 2362 | August 9, 2019 | |
Three.js ShaderMaterial exporting workaround? | 0 | 391 | July 14, 2021 |