threejs-syntax-shaders

Official

Write robust Three.js shaders with confidence.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers create robust Three.js shaders by ensuring correct use of ShaderMaterial and RawShaderMaterial, proper uniform handling, and GLSL3 compatibility, while avoiding common pitfalls.

Core Features & Use Cases

  • Enforces correct uniforms formatting (uniforms: { name: { value: ... } }) and prevents missing values.
  • Supports ShaderMaterial, RawShaderMaterial, onBeforeCompile patching, and ShaderChunk integration with Three.js fog and lighting workflows.
  • Use cases include building custom visual effects, porting external shaders, and patching existing materials without breaking rendering.

Quick Start

Create a ShaderMaterial or RawShaderMaterial with your GLSL code and apply it to a mesh.

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: threejs-syntax-shaders
Download link: https://github.com/OpenAEC-Foundation/Three.js-Claude-Skill-Package/archive/main.zip#threejs-syntax-shaders

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.