forge-basic-lighting

Official

Add Blinn-Phong lighting to SDL3 GPU scenes.

Authorcode-review-benchmark
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill teaches how to add Blinn-Phong lighting to a rendered 3D scene, enabling realistic shading with ambient, diffuse, and specular components.

Core Features & Use Cases

  • Ambient, Diffuse, and Specular Lighting: implement comprehensive Blinn-Phong shading for meshes.
  • World-space Lighting Calculations: transform normals using adjugate-transpose for correct shading under non-uniform scale.
  • Shader Uniforms & Pipeline Integration: push MVP and model matrices, lighting parameters, and camera position to the GPU via SDL3 GPU APIs.
  • Real-time Rendering in SDL3 GPU: integrate with SDL_CreateGPUGraphicsPipeline and draw calls to render lit geometry.

Quick Start

Integrate the provided Blinn-Phong lighting shaders into your SDL3 GPU project and render a lit mesh.

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

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.