# Mesh buffer with hole created via CSG doesn't throw correct shadow

**URL:** <https://discourse.threejs.org/t/mesh-buffer-with-hole-created-via-csg-doesnt-throw-correct-shadow/77289>\
**Category:** Questions\
**Tags:** shadows\
**Created:** [January 30, 2025, 6:59am UTC](https://discourse.threejs.org/t/mesh-buffer-with-hole-created-via-csg-doesnt-throw-correct-shadow/77289 "2025-01-30T06:59:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JefBut](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JefBut](https://discourse.threejs.org/u/JefBut)\
**Post date:** [January 30, 2025, 6:59am UTC](https://discourse.threejs.org/t/mesh-buffer-with-hole-created-via-csg-doesnt-throw-correct-shadow/77289/1 "2025-01-30T06:59:21Z")

</div>

I have a mesh which I have put a hole in using CSG. The mesh itself shows correctly but the shadow is for the original mesh. It throws a shadow where the hole is (should be no shadow).

Not sure where I should be looking to solve the issue.

Thanks  
Jeff

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/d/9/d93462590ba3676b86e99dd53aa2961e4dad76b6.jpeg)

---

<div class="post-metadata">

**Author:** ![JefBut](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JefBut](https://discourse.threejs.org/u/JefBut)\
**Post date:** [January 31, 2025, 8:04am UTC](https://discourse.threejs.org/t/mesh-buffer-with-hole-created-via-csg-doesnt-throw-correct-shadow/77289/2 "2025-01-31T08:04:40Z")

</div>

Seems like this is actually a different issue - not the mesh. I am drawing a mesh in that opening so its clickable. The issue seems to be that a MeshStandardMaterial with opacity is still casting a shadow even though I have castShadow turned off.

I switched to a ShadowMaterial and am still having same issue. Even though a ShadowMaterial is not supposed to cast shadows at all.

So I am still stuck but I don’t think its the mesh at fault but rather the material I am using on the “transparent” material.
