rendering/shadows

Community

Add per-prefab sprite shadows in URP.

AuthorSilac1995
Version1.0.0
Installs0

System Documentation

What problem does it solve?

2D sprite cast-shadow system enabling dynamic, per-prefab shadow casting in Unity URP, with DayNightCycle integration and interior occluders.

Core Features & Use Cases

  • Per-prefab shadow casting: toggle shadows on individual sprites/prefabs.
  • DayNightCycle-driven shadow strength: adjusts shadow intensity across the day.
  • Interior occluders: supports ShadowsOnlyRoof on interior prefabs for realistic shading.
  • URP shader integration: relies on Sprite-Lit-ShadowCaster shader and corresponding materials.

Quick Start

Apply the Sprite-Lit-ShadowCaster materials to your sprite renderers, enable shadowCastingMode On, and configure DayNightCycle and interior occluders as needed.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rendering/shadows
Download link: https://github.com/Silac1995/My-World-Isekai-Unity/archive/main.zip#rendering-shadows

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.