Skip to content

Commit

Permalink
chore: better examples+
Browse files Browse the repository at this point in the history
  • Loading branch information
drcmda committed Jun 13, 2023
1 parent cf961a5 commit 8b28aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ A selection of [Polyhaven](https://polyhaven.com/hdris) HDRIs, resized to 512x51
import { EXRLoader } from 'three-stdlib'
const apartment = await import('@pmndrs/assets/hdri/apartment.exr')
new THREE.EXRLoader().load(apartment.default, (texture) => {
new EXRLoader().load(apartment.default, (texture) => {
texture.mapping = THREE.EquirectangularReflectionMapping
scene.environment = texture
})
Expand Down

0 comments on commit 8b28aa9

Please sign in to comment.