跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

React Three Fiber Shaders

Skill 已验证
92

React Three Fiber shaders - GLSL, shaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shaders, or extending built-in materials.

AI 摘要

This extension provides code examples and patterns for creating and using custom shaders within React Three Fiber applications. It covers various shader techniques, including `shaderMaterial`, `THREE.ShaderMaterial`, uniforms, varyings, and common patterns like vertex displacement and Fresnel effects. The examples are designed to be integrated into R3F projects and leverage popular libraries like `@react-three/drei`.

Versioning

  • warning:Release ManagementThere is no explicit versioning information (e.g., version field, changelog) for this extension, and installation instructions might default to the main branch.

安装

npx skills add enzed/r3f-skills

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

4 months ago
79 stars
MIT
更新于 1 day ago
查看源代码