Skip to content

Conversation

@WestLangley
Copy link
Collaborator

With this change, the signature of of the load() method now is consistent with that of the other texture loaders.

new THREE.HDRCubeTextureLoader()
	.setType( THREE.UnsignedByteType )
	.load( hdrUrls, function ( hdrCubeMap ) { ...

Also, HDRCubeTextureLoader now leverages the decoding capabilities of RGBELoader. UnsignedByteType, FloatType, and HalfFloatType are supported.

The examples are updated to accommodate the API change.

@mrdoob mrdoob added this to the r106 milestone Jun 7, 2019
@mrdoob mrdoob merged commit 09f6cd1 into mrdoob:dev Jun 7, 2019
@mrdoob
Copy link
Owner

mrdoob commented Jun 7, 2019

Thanks!

@Mugen87 Mugen87 mentioned this pull request Jun 7, 2019
@WestLangley WestLangley deleted the dev_hdrcubetexture_loader branch June 7, 2019 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants