
r3f-materials
Choose and configure React Three Fiber surface materials, PBR, transparency
by enzedFree
Description
R3F Materials is an agent skill for choosing and configuring surface materials in React Three Fiber. It starts with a rule of picking the least complex material that fits the need: meshBasicMaterial for unlit artwork or UI surfaces, meshStandardMaterial for an ordinary PBR surface, meshPhysicalMaterial when clearcoat, transmission or sheen are needed, meshToonMaterial for stylized lighting, and meshNormalMaterial for debugging normals. It notes the cost of each choice, since extra physical features mean more shader work, and that metals need an environment or suitable lights to look right. The skill includes an example of a PBR surface lit by a small procedural environment, which avoids depending on a remote preset. It also warns that Drei shader-based materials may not work unchanged with WebGPU. The agent is asked to inspect the installed renderer and library versions first. It suits developers who build product viewers, configurators and other 3D scenes on the web. The skill is published on skills.sh in the enzed r3f-skills collection.…
Highlights
- Picks the least complex material that fits the need
- Compares basic, standard, physical and toon materials
- Shows a PBR surface with procedural environment lighting
- Flags WebGL and WebGPU differences
Ratings & Reviews
No ratings yet
Be the first to rate r3f-materials.
People also visit

threejs-materials
Three.js materials - PBR, basic, phong, shader materials, material properties

r3f-lighting
Light React Three Fiber scenes with direct lights, environment maps, and shadows

r3f-textures
Configure textures in React Three Fiber, including color spaces, UV channels
r3f-materials FAQ
What does the R3F Materials skill do?
It helps an AI coding agent pick and configure Three.js materials in React Three Fiber, explaining the trade-off between appearance and rendering cost.
Who is it for?
Developers building 3D product views, configurators and other scenes in React Three Fiber.
How do I install it?
Run npx skills add https://github.com/enzed/r3f-skills --skill r3f-materials in a terminal.
Does it work with WebGPU?
The skill says Drei shader-based materials do not work unchanged with WebGPU, and it points to a separate check of the renderer backend before relying on them.
What are the security audit results?
Gen Agent Trust Hub Pass, Socket Pass, Snyk Pass.
What are the best r3f-materials alternatives?
Popular alternatives to r3f-materials include threejs-materials, r3f-shaders and r3f-lighting. See all r3f-materials alternatives







