fix(web): balance scene lighting so laid-flat cards don't overexpose
Replace the single dominant top light with evenly-spaced key lightformers so a laid-flat card's top face isn't blown out and its underside is lifted by a warm bounce.
This commit is contained in:
@@ -106,8 +106,12 @@ export default function Scene({
|
|||||||
<ambientLight intensity={0.1} />
|
<ambientLight intensity={0.1} />
|
||||||
|
|
||||||
<Environment resolution={256}>
|
<Environment resolution={256}>
|
||||||
<Lightformer intensity={2} position={[0, 5, 0]} scale={[10, 10, 1]} />
|
<Lightformer intensity={.5} position={[0, 5, 0]} scale={[10, 10, 1]} />
|
||||||
<Lightformer intensity={1} color="#b3c7ff" position={[-5, 2, -1]} scale={[3, 3, 1]} />
|
<Lightformer intensity={.5} position={[0, 0, 5]} scale={[10, 10, 1]} />
|
||||||
|
<Lightformer intensity={.5} position={[0, 0, -5]} scale={[10, 10, 1]} />
|
||||||
|
<Lightformer intensity={.5} position={[-5, 0, 0]} scale={[10, 10, 1]} />
|
||||||
|
<Lightformer intensity={.5} position={[5, 0, -0]} scale={[10, 10, 1]} />
|
||||||
|
<Lightformer intensity={0.6} color="#fff1d6" position={[0, -3, 0]} scale={[6, 6, 1]} />
|
||||||
</Environment>
|
</Environment>
|
||||||
|
|
||||||
{shadow && (
|
{shadow && (
|
||||||
@@ -130,7 +134,7 @@ export default function Scene({
|
|||||||
|
|
||||||
<EffectComposer>
|
<EffectComposer>
|
||||||
<ToneMapping mode={ToneMappingMode.AGX} />
|
<ToneMapping mode={ToneMappingMode.AGX} />
|
||||||
<BrightnessContrast brightness={0.25} contrast={.5} />
|
<BrightnessContrast brightness={0.12} contrast={.5} />
|
||||||
<Vignette eskil={false} offset={0.25} darkness={0.6} />
|
<Vignette eskil={false} offset={0.25} darkness={0.6} />
|
||||||
</EffectComposer>
|
</EffectComposer>
|
||||||
</Canvas>
|
</Canvas>
|
||||||
|
|||||||
Reference in New Issue
Block a user