remove fog totally

This commit is contained in:
aarizona 2024-09-09 16:47:28 +03:00
parent 19026731f6
commit 50c78fd219
1 changed files with 1 additions and 1 deletions

View File

@ -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);