
R3f Textures
React Three Fiber texture guide covering color spaces, UV channels, caching, sampling, video, and render targets.
- skills.sh installs
- 2K
- GitHub stars
- 138
- last updated
- Aug 21, 2026
What it does
- Covers color versus data maps, cache ownership, UV channels, sampling and filtering, and video or canvas textures
- Includes a color-space table, a
useTextureexample, and version checks for Fiber 9, React 19, and Three.js r185 - Enforces a rule against blanket sRGB conversion, so roughness, normal, and mask maps keep
NoColorSpace - Designed for developers fixing texture appearance, memory, or orientation problems rather than model-loading workflows
Install
$ npx -y skills add enzed/r3f-skills --skill r3f-textures -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
React Three Fiber textures
Inspect installed Three.js, Fiber, Drei, and renderer versions first. Examples target Fiber 9 / React 19 and Three.js r185 with WebGL. Preserve correctly configured assets rather than resetting every texture.
Color versus data
| Texture content | Color-space annotation |
|---|---|
| PNG/JPEG base color or emissive color | SRGBColorSpace |
| Roughness, metalness, normal, AO, alpha/masks | NoColorSpace |
| Linear HDR/EXR lighting data | Preserve loader-provided linear metadata |
NoColorSpace is not another name for LinearSRGBColorSpace: scalar/vector data has no color space. Do not blanket-convert every map to sRGB.
Load a color map
Mount under Suspense inside Canvas. The file path is an application asset, not a file provided by this skill.
import { useTexture } from '@react-three/drei'
import { SRGBColorSpace } from 'three'
Details
- Repository
- github.com/enzed/r3f-skills
- Categories
- 3D, CAD & Modeling, Frontend & UI Code
- First seen
- Jun 3, 2026
More from enzed/r3f-skills
All 11Similar to R3f Textures
More 3D, CAD & Modeling
r3f-geometryenzed/r3f-skills2.2K installsReact Three Fiber geometry guide for built-in shapes, custom buffers, and instanced rendering, separate from material appearance.
threejs-texturescloudai-x/threejs-skills18.2K installsThree.js texture guide covering loading, color space, UV transforms, filtering, texture types, KTX2 compression, and environment maps.
r3f-loadersenzed/r3f-skills2K installsReact Three Fiber asset loading with useGLTF, useLoader, Suspense boundaries, caching, and decoder setup.
threejs-materialscloudai-x/threejs-skills21.3K installsChoosing and tuning Three.js materials, from unlit basics through PBR, toon, and WebGPU node materials.
react-native-r3fmindrally/skills695 installsExpert guidance for React Three Fiber scenes using React, Vite, Tailwind CSS, and Next UI conventions.
r3f-best-practicesemalorenzo/three-agent-skills1.7K installsReact Three Fiber performance and ecosystem guidance covering 70+ prioritized rules across 12 categories.