npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

three-nouv

v0.1.0

Published

Reusable Blender-style no-UV box projection materials for three.js.

Readme

NO UV! DOWN WITH BIG UV!

NOUV

Sometimes, you just want to make a 3d model, a crazy 3d model and not spend 4 hours marking seams just to texture it.

Especially huge complex models for scenes.

I created NOUV! It's Blender-style box projected PBR textures for Three.js.

NOUV patches MeshStandardMaterial or MeshPhysicalMaterial so common texture slots are sampled with triplanar/box projection. It is meant for quick reusable material workflows where a mesh should receive tileable 2D textures directly in object or world space.

Install

npm install three-nouv three

Quick Start

import { TextureLoader } from 'three';
import { createNouvStandardMaterial } from 'three-nouv';

const loader = new TextureLoader();

const material = createNouvStandardMaterial({
  color: '#ffffff',
  roughness: 0.85,
  metalness: 0,
  map: loader.load('/wood/basecolor.jpg'),
  normalMap: loader.load('/wood/normal.jpg'),
  roughnessMap: loader.load('/wood/roughness.jpg'),
  scale: [2, 2, 1],
  blend: 0.45
});

mesh.material = material;

Controls

material.nouv.setScale([3, 1, 2]);
material.nouv.setBlend(0.7);
material.nouv.objectSpace = false;
material.nouv.setTexture('map', anotherTexture);

scale is per axis and controls how many texture repeats are projected through each object/world axis. A number applies uniformly, and an array or Vector3 applies x, y, and z separately.

blend is normalized from 0 to 1. Lower values create harder transitions between projection faces; higher values soften the blend.

objectSpace defaults to true, which keeps texture placement attached to the mesh. Set it to false for world-space projection across multiple meshes.

Supported Texture Slots

  • map
  • normalMap
  • roughnessMap
  • metalnessMap
  • bumpMap
  • aoMap
  • emissiveMap
  • alphaMap

All supplied textures are set to RepeatWrapping automatically.

Patching Existing Materials

import { MeshPhysicalMaterial } from 'three';
import { applyNouvBoxProjection } from 'three-nouv';

const material = applyNouvBoxProjection(new MeshPhysicalMaterial({
  clearcoat: 0.5,
  roughness: 0.4
}), {
  map,
  normalMap,
  scale: 1.5,
  blend: 0.35
});

Development

npm install
npm run build
npm run dev

The default example uses generated canvas textures, so it runs without external assets.

There is also a local RedRock PBR example at /redrock.html. The texture pack is bundled in the repo under public/textures/redrock, and the height texture is used as a NOUV-projected bumpMap.

Thanks goes out to CG Bookcase for this example texture, available here:

https://www.cgbookcase.com/textures/red-rock-05

npm run dev -- --host 127.0.0.1 --port 5181

Then open http://127.0.0.1:5181/redrock.html.