remove fog totally
This commit is contained in:
parent
19026731f6
commit
50c78fd219
|
@ -50,7 +50,7 @@ const loadEnv = async () => {
|
||||||
const c = new Color()
|
const c = new Color()
|
||||||
c.set(props.clear_color || PROMOBG)
|
c.set(props.clear_color || PROMOBG)
|
||||||
renderer.value.setClearColor(c)
|
renderer.value.setClearColor(c)
|
||||||
scene.value.fog = new Fog(c, props.focus * k.start, props.focus * k.end)
|
// scene.value.fog = new Fog(c, props.focus * k.start, props.focus * k.end)
|
||||||
|
|
||||||
const hsl_value = { h: 0, s: 0, l: 0 }
|
const hsl_value = { h: 0, s: 0, l: 0 }
|
||||||
new Color(props.clear_color).getHSL(hsl_value);
|
new Color(props.clear_color).getHSL(hsl_value);
|
||||||
|
|
Loading…
Reference in New Issue