mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
102.81k stars 35.38k forks source link

WebGLRenderer: setting `outputColorSpace` to `LinearSRGBColorSpace` throws error #29542

Closed WestLangley closed 1 month ago

WestLangley commented 1 month ago

Description

As the title says.

Reproduction steps

see code and example below

Code

renderer.outputColorSpace = THREE.LinearSRGBColorSpace;

Live example

dev branch https://jsfiddle.net/zvyewL83/

Screenshots

No response

Version

r170dev

Device

No response

Browser

No response

OS

No response

donmccurdy commented 1 month ago

PR: