-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Closed
Labels
Description
Describe the bug
The LUTPass is not rendering output when used in a WebGL1 context (Safari and IOS). I have tried both the example (https://threejs.org/examples/?q=post#webgl_postprocessing_3dlut) and my own code with no luck.
Chrome and WebGL2 seems to work fine. Safari on desktop and on IOS produce the same errors to console:
WebGL: ERROR: 0:115: 'sampler3D' : Illegal use of reserved word
WebGL: ERROR: 0:115: 'sampler3D' : syntax error
THREE.WebGLProgram: shader error:
WebGL: INVALID_OPERATION: useProgram: program not valid
To Reproduce
Run this demo in Safari or IOS Safari: https://threejs.org/examples/?q=post#webgl_postprocessing_3dlut
Platform:
- Device: Desktop and Mobile
- OS: MacOS 10.15.7 (19H2) and iOS 14.4
- Browser: Safari 14.0 and IOS Safari
- Three.js version: 127dev and r126