forge-gobo-spotlight

Official

Project textured spotlight with shadow mapping.

Authorcode-review-benchmark
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Add a projected-texture spotlight with cone falloff, shadow map, and pattern projection to an SDL GPU project. The approach enables cinematic lighting by combining gobo projection with depth-based shadows using a single light_vp matrix.

Core Features & Use Cases

  • Gobo projection: project a texture through the light to create patterns on the scene.
  • Cone falloff and shadows: inner/outer cone angles with depth-based shadow mapping for realism.
  • Triple-duty matrix: a single light_vp drives shadow mapping, gobo UV projection, and cone masking in the scene.

Quick Start

Integrate forge-gobo-spotlight by initializing the light position and target, loading a gobo texture, creating a 2D shadow map, and wiring the light_vp into your scene render.

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: forge-gobo-spotlight
Download link: https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317/archive/main.zip#forge-gobo-spotlight

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.