Threejs Syntax Shaders

Use when writing custom GLSL shaders, creating ShaderMaterial or RawShaderMaterial, defining uniforms, or patching built-in materials with onBeforeCompile. Prevents the common mistake of wrong uniform format, missing needsUpdate on uniforms, or not including required defines. Covers ShaderMaterial, RawShaderMaterial, GLSL, uniforms, ShaderChunk, onBeforeCompile, defines, GLSL3. Keywords: ShaderMaterial, RawShaderMaterial, GLSL, vertex shader, fragment shader, uniform, varying, ShaderChunk, onBeforeCompile, custom shader, write shader, custom visual effect, GPU programming.

OpenAEC-Foundation Updated

File contents

OpenAEC-Foundation/Three.js-Claude-Skill-Package/tree/main/skills/source/threejs-syntax/threejs-syntax-shaders commit 6af5490730

Frequently asked questions

npx skillmds@latest add openaec-foundation-three-js-claude-skill-package/threejs-syntax-shaders