Drop logarithmicDepthBuffer from WebGLRenderer init
Was causing WebGL context creation to fail on some software-rendering (llvmpipe) setups. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
a18ef5bd8a
commit
1ab61a3ff6
1 changed files with 3 additions and 2 deletions
|
|
@ -2063,8 +2063,9 @@ let Space = {
|
||||||
|
|
||||||
renderer = new WebGLRenderer({
|
renderer = new WebGLRenderer({
|
||||||
antialias: antiAlias,
|
antialias: antiAlias,
|
||||||
preserveDrawingBuffer: true,
|
preserveDrawingBuffer: true
|
||||||
logarithmicDepthBuffer: true
|
// logarithmicDepthBuffer omitted: fails WebGL context creation
|
||||||
|
// on some software-rendering (llvmpipe) setups
|
||||||
});
|
});
|
||||||
|
|
||||||
// THREE.ColorManagement.enabled = false;
|
// THREE.ColorManagement.enabled = false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue