Skip to main content
skill CX Codex

r3f-textures — Claude Code skill for texture setup

Guidance for configuring textures in React Three Fiber, from color spaces and UV channels to video and render targets. Useful when an image looks wrong or texture memory needs attention.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add EnzeD/r3f-skills --skill r3f-textures -a claude-code
Open on GitHub

What r3f-textures does

The skill covers color-space choices for color maps versus data maps, UV channel selection, wrapping, and filtering. It also discusses video textures, Canvas/DataTexture updates, and render targets. With glTF assets, follow the model’s existing texture setup; changing orientation again can break a correctly configured map.

Loader caches can hand the same texture object to multiple components. Changing its color space or repeat settings can therefore affect every consumer. For per-object changes, the skill recommends cloning the texture and disposing only the clone you own.

It also describes mipmaps and ways to inspect GPU texture counts. Render-target guidance is in references/render-targets.md; sampling a texture while rendering into that same target is unsafe.

What it helps with

  • choose a color space for color and data maps
  • select the geometry’s UV channel for a texture
  • adjust wrapping or filtering when an image renders incorrectly
  • keep per-object texture settings from affecting other consumers
  • avoid sampling a render target during a write

Example prompts for the agent

  • Set the right color-space handling for the color and roughness maps in this React Three Fiber scene.
  • Check why this texture repeats incorrectly and select the matching UV channel.
  • Review how this component uses video textures and render targets.

How to install r3f-textures

1Skills CLI (Vercel)

npx skills add EnzeD/r3f-skills --skill r3f-textures -a claude-code

2Manually: put the files in place

~/.claude/skills/r3f-textures/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/r3f-textures/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about r3f-textures

How do I install r3f-textures in Claude Code?

Run npx skills add EnzeD/r3f-skills --skill r3f-textures -a claude-code. The skill file is at ~/.claude/skills/r3f-textures/SKILL.md.

What does r3f-textures do?

It guides an agent through texture setup in React Three Fiber, including color handling, UV selection, sampling, video, and render targets.

Why can changing a texture affect multiple components?

A loader may return the same cached texture object to several consumers. The skill advises cloning it for separate settings and leaving the shared source intact.

Similar skills

SKILL.md skills catalog →

From the same set9

r3f-interaction Configures pointer events, object picking, dragging, and camera controls in React Three Fiber. Helps avoid input conflicts between 3D scene controls and interactive meshes. CX Codex +1 3,300installs r3f-fundamentals Skill that teaches the agent to build React Three Fiber scenes: Canvas, typed JSX, render-loop hooks, and resource ownership. For scene architecture, not detailed materials. CX Codex +1 2,100installs r3f-animation Skill for smooth animation of 3D objects in React Three Fiber using useFrame, damping, and GLTF clips. Useful for procedural motion, state transitions, and on-demand animation control. CX Codex +1 2,000installs r3f-materials Guides the agent in configuring PBR and transparency in React Three Fiber. Prevents texture color space mistakes and unnecessary GPU overhead. CX Codex +1 1,900installs r3f-geometry Guides an agent through geometry, custom buffers, points, lines, and instancing in React Three Fiber. Useful when shaping objects or reducing draw calls. CX Codex +1 1,900installs r3f-postprocessing A skill that walks the agent through postprocessing in React Three Fiber: glow on chosen meshes, depth of field, SSAO. Useful when the render looks off and you cannot pin down why. CX Codex +1 1,900installs r3f-loaders Guides 3D asset loading and reuse in React Three Fiber. Helps set up hooks, preloading, scene cloning, and fallback UI. CX Codex +1 1,800installs r3f-physics Guides an AI coding agent through adding Rapier physics to React Three Fiber. Use it for collision-based movement, sensors, forces, and joints. CX Codex +1 1,800installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor