less than 1 minute read

As of 2023.04.06, with the version bump in Three.js to v0.151.3, the THREE.RGBFormat API can no longer be used.

The generally recommended approach is to use THREE.RGBAFormat instead of THREE.RGBFormat.

The reason RGBFormat was deprecated is that the RGB format has become outdated and is too slow, and WebGL also recommends using RGBA.

Even though it’s just a minor version upgrade, complaints poured in asking whether it was really okay to introduce such a big change. But the Three.js maintainer says he doesn’t want any further discussion (it’s noisy).

20230406

Tags:

Categories:

Updated:

Leave a comment