# \#csm

**URL:** https://discourse.threejs.org/tag/csm/607.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [CSM bugs with very large objects](https://discourse.threejs.org/t/csm-bugs-with-very-large-objects/88192)

<div class="topic-metadata">

**Author:** [@gnemeth](https://discourse.threejs.org/u/gnemeth)\
**Replies:** 3\
**Last updated:** [January 5, 2026, 4:22pm UTC](https://discourse.threejs.org/t/csm-bugs-with-very-large-objects/88192 "2026-01-05T16:22:36Z")

</div>

I have a very weird bug with the CSM shadows (using r181) regarding very large objects (building-sized) that seem to go out of the shadows’ FOV, or upon inspecting with CSMHelper, seem to break when crossing a cascade. I…

---

## [CSM Default Values](https://discourse.threejs.org/t/csm-default-values/45732)

<div class="topic-metadata">

**Author:** [@titansoftime](https://discourse.threejs.org/u/titansoftime)\
**Replies:** 0\
**Last updated:** [December 13, 2022, 4:47am UTC](https://discourse.threejs.org/t/csm-default-values/45732 "2022-12-13T04:47:21Z")

</div>

I have been struggling with what I though may have been a bug in the Frustum calculation in CSM. Turns out lightMargin was the key. I have some larger scaled objects (trees, walls etc.) and the CSM frustums were not wor…

---

## [Material distortion](https://discourse.threejs.org/t/material-distortion/44994)

<div class="topic-metadata">

**Author:** [@Gta\_Sektor](https://discourse.threejs.org/u/Gta_Sektor)\
**Replies:** 2\
**Last updated:** [November 22, 2022, 3:09am UTC](https://discourse.threejs.org/t/material-distortion/44994 "2022-11-22T03:09:18Z")

</div>

Glb model loaded on scene As the model moves slightly away from the camera, the material begins to distort and red stripes appear on the model. I use CSM, setupMaterial does not solve the problem in any way The camera…

---

## [Problem with shadows shaking with the csm plugin only visible on a mobile](https://discourse.threejs.org/t/problem-with-shadows-shaking-with-the-csm-plugin-only-visible-on-a-mobile/39120)

<div class="topic-metadata">

**Author:** [@espace3d](https://discourse.threejs.org/u/espace3d)\
**Replies:** 20\
**Last updated:** [June 12, 2022, 12:09pm UTC](https://discourse.threejs.org/t/problem-with-shadows-shaking-with-the-csm-plugin-only-visible-on-a-mobile/39120 "2022-06-12T12:09:38Z")

</div>

Hello, Here is the minimal code to illustrate my problem: When I hold the click, the orange cube moves forward among the big green cubes (100 instances) and the projected shadows (trough plugin CSM) shake when I activa…

---

## [CSM this.mainFrustum.split is not a function](https://discourse.threejs.org/t/csm-this-mainfrustum-split-is-not-a-function/31249)

<div class="topic-metadata">

**Author:** [@ItzArty](https://discourse.threejs.org/u/ItzArty)\
**Replies:** 3\
**Last updated:** [October 29, 2021, 8:23am UTC](https://discourse.threejs.org/t/csm-this-mainfrustum-split-is-not-a-function/31249 "2021-10-29T08:23:09Z")

</div>

Hello, I wanted to implement shadows, but lets say I am limited to… well, not using modules and this error came up. I am using JS files directly hosted at threejs.org (from /examples/js/ & /build/) so this is kinda weir…

---

## [CSM shadows look "bad" \[Solved\]](https://discourse.threejs.org/t/csm-shadows-look-bad-solved/22067)

<div class="topic-metadata">

**Author:** [@tussiez](https://discourse.threejs.org/u/tussiez)\
**Replies:** 2\
**Last updated:** [December 31, 2020, 5:20pm UTC](https://discourse.threejs.org/t/csm-shadows-look-bad-solved/22067 "2020-12-31T17:20:56Z")

</div>

I’ve tried using Three.js’ Cascading Shadow Maps before, however every time I try it, the shadows don’t look like the example’s shadows. What should I change to get better shadows? Fiddle My test: Three.js example: …

---

## [Cascaded Shadow Maps](https://discourse.threejs.org/t/cascaded-shadow-maps/7242)

<div class="topic-metadata">

**Author:** [@Fyrestar](https://discourse.threejs.org/u/Fyrestar)\
**Replies:** 6\
**Last updated:** [August 6, 2019, 6:56am UTC](https://discourse.threejs.org/t/cascaded-shadow-maps/7242 "2019-08-06T06:56:09Z")

</div>

It’s been a while since CSM has been removed from THREE (R66 i guess) and we still are stuck with limited and manual shadows (directional light / sun) while it’s a requirement for scenes bigger than a single spot. CSM i…
