---
title: "Discussion on \"Detecting Shadow Pass in Godot Shader\" | Hashnode"
description: "Discussion on \"Detecting Shadow Pass in Godot Shader\". If you want a wall to be see-through from the player's perspective but still have the wall cast a shadow within the world, it is useful to be able to detect whether a shadow pass is being done in the material shader. If you are in a shadow pass stage..."
url: "https://hashnode.com/posts/detecting-shadow-pass-in-godot-shader/65641d2479cda1d3450290dd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Detecting Shadow Pass in Godot Shader](https://blog.vortexbasis.com/detecting-shadow-pass-in-godot-shader?utm_source=hashnode&utm_medium=feed)

If you want a wall to be see-through from the player's perspective but still have the wall cast a shadow within the world, it is useful to be able to detect whether a shadow pass is being done in the material shader. If you are in a shadow pass stage...

Nov 27, 2023 · 2 min read · blog.vortexbasis.com  
Read the article

-   [#godot](https://hashnode.com/tag/godot)
-   [#godot-4](https://hashnode.com/tag/godot-4)

## Written by

[Caleb Doise](https://hashnode.com/@vortexbasis)

@vortexbasis · Virginia, US

  
[View profile](https://hashnode.com/@vortexbasis)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
