pmndrs / three-stdlib

📚 Stand-alone library of threejs examples designed to run without transpilation in node & browser
https://npmjs.com/three-stdlib
MIT License
676 stars 110 forks source link

fix(HDRCubeTextureLoader): colorSpace <=> encoding fallback #339

Closed kingshukkundu closed 5 months ago

kingshukkundu commented 5 months ago

Why

According to three.js version 0.152 migration guide, Texture.encoding has been replaced with Texture.colorSpace with THREE.NoColorSpace as the default value

What

Fixed warning logged in console "THREE.Texture: Property .encoding has been replaced by .colorSpace."

Checklist

codesandbox-ci[bot] commented 5 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

github-actions[bot] commented 5 months ago

:tada: This PR is included in version 2.29.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: