basic-lighting

Official

Add Blinn-Phong lighting to 3D scenes.

AuthorRosyGameStudio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables the addition of realistic lighting and shading to 3D models rendered in real-time applications, transforming flat surfaces into visually engaging objects.

Core Features & Use Cases

  • Blinn-Phong Shading: Implements ambient, diffuse, and specular lighting components for per-pixel shading.
  • Shader Uniforms: Manages the passing of necessary data like light direction, camera position, and material properties to the GPU shaders.
  • Normal Transformation: Correctly transforms surface normals from object space to world space for accurate lighting calculations, even with non-uniform scaling.
  • Use Case: Integrate this Skill to give a 3D model of a product a realistic sheen and depth, making it appear more tangible and appealing in a product configurator or game.

Quick Start

Use the basic-lighting skill to apply Blinn-Phong lighting to the loaded 'dragon.gltf' model with a light source positioned at (10, 10, 10).

Dependency Matrix

Required Modules

None required

Components

references

💻 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: basic-lighting
Download link: https://github.com/RosyGameStudio/forge-gpu/archive/main.zip#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 223,000+ vetted skills library on demand.