Install any skill in seconds. Free to start, no credit card required.
Get Started Free →sickn33/threejs-textures
Three.js textures - texture types, UV mapping, environment maps, texture settings.
Passed 22 of 22 test cases with the skill, and 20 of 22 without it.
2 fixed20 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
I assigned an ambient occlusion map (`aoMap`) to a MeshStandardMaterial in Three.js, but the occlusion shadows fail to render on the geometry. What geometry attribute modification is missing?
| Checked | Without skill | With skill |
|---|---|---|
| sets the uv2 attribute on geometry using geometry.setAttribute('uv2', ...) | Missed | Passed |
The instructions your model reads when the skill loads.
import * as THREE from "three";
// Load texture
const loader = new THREE.TextureLoader();
const texture = loader.load("texture.jpg");
// Apply to material
const material = new THREE.MeshStandardMaterial({
map: texture,
});
const loader = new THREE.TextureLoader();
// Async with callbacks
loader.load(
"texture.jpg",
(texture) => console.log("Loaded"),
(progress) => console.log("Progress"),
(error) => console.error("Error"),
);
// Synchronous style (loads async internally)
const texture = loader.load("texture.jpg");
material.map = texture;
test cases passed, vs 20 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.