How to use the RGBELoader function from three
Find comprehensive JavaScript three.RGBELoader code examples handpicked from public code repositorys.
100 101 102 103 104 105 106 107 108 109
controls.enableKeys = false; const geometry = new THREE.RoundedBoxGeometry(1, 1, 1, 16, 0.2); const hdrEquirect = new THREE.RGBELoader().load( "src/empty_warehouse_01_2k.hdr", () => { hdrEquirect.mapping = THREE.EquirectangularReflectionMapping; }
0
0
0
+ 2 other calls in file
three.Vector3 is the most popular function in three (22341 examples)