# Can't fix shadows in my scene

**URL:** <https://discourse.threejs.org/t/cant-fix-shadows-in-my-scene/64722>\
**Category:** Questions\
**Tags:** shadows, lights\
**Created:** [April 28, 2024, 9:58am UTC](https://discourse.threejs.org/t/cant-fix-shadows-in-my-scene/64722 "2024-04-28T09:58:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ross\_Geller](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ross_geller/32/38204_2.png) [@Ross\_Geller](https://discourse.threejs.org/u/Ross_Geller)\
**Post date:** [April 28, 2024, 9:58am UTC](https://discourse.threejs.org/t/cant-fix-shadows-in-my-scene/64722/1 "2024-04-28T09:58:24Z")

</div>

![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/5/a/5a1d5feecf3173134cbd62a8d50e2cf904c6a2af.jpeg)

I tried to use Accumulative Shadows but it doesn’t look as it should. Can you please help me fix it? Thanks.

```javascript
export const App = () => {
  return (
    <Canvas
      gl={{ antialias: false }}
      camera={{ position: [-4.5, 1.5, 4], fov: 55 }}
      shadows
    >
      <OrbitControls minPolarAngle={0} maxPolarAngle={Math.PI / 2} />
      <Effects />
      <Environment preset="warehouse" />
      <group position={[0, -0.25, 0]}>
        <Model scale={0.25} />

        <AccumulativeShadows
          resolution={1024}
          frames={100}
          color={"#0c575f"}
          alphaTest={0.68}
          colorBlend={1.5}
          opacity={1.65}
          scale={12}
        >
          <RandomizedLight
            radius={30}
            ambient={0.8}
            position={[10, 5, -15]}
            bias={0.001}
          />
        </AccumulativeShadows>
      </group>
    </Canvas>
  );
};

```

---

<div class="post-metadata">

**Author:** ![mjurczyk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mjurczyk/32/10995_2.png) [@mjurczyk](https://discourse.threejs.org/u/mjurczyk)\
**Post date:** [April 28, 2024, 10:36am UTC](https://discourse.threejs.org/t/cant-fix-shadows-in-my-scene/64722/2 "2024-04-28T10:36:48Z")

</div>

There’s no code formatting nor a question in the post 😅

---

<div class="post-metadata">

**Author:** ![Ross\_Geller](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ross_geller/32/38204_2.png) [@Ross\_Geller](https://discourse.threejs.org/u/Ross_Geller)\
**Post date:** [April 28, 2024, 10:39am UTC](https://discourse.threejs.org/t/cant-fix-shadows-in-my-scene/64722/3 "2024-04-28T10:39:48Z")

</div>

Oops! I edited it now, thanks.
