# gkjohnson/three-gpu-pathtracer

Path tracing renderer and utilities for three.js built on top of three-mesh-bvh.

Repository: https://github.com/gkjohnson/three-gpu-pathtracer
Canonical: https://ross.abutalabs.com/products/three-gpu-pathtracer
Homepage: https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/index.html
Language: JavaScript
License: MIT
License Family: permissive
Topics: path-tracing, raytracing, threejs, bvh, performance, graphics, geometry, webgl, renderer, mesh, three-js, three-mesh-bvh, three-gpu-pathtracer, rtx, rendering, path-tracer, path, tracer
Last push: 2026-08-26T07:53:42+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 39, longevity 100
- inputs: {"age_days": 1764, "days_push": 7, "days_rel": 194, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1817, forks 171 (observed 2026-08-28T04:05:40.553319+00:00)

## What it is
A GPU-accelerated path tracing renderer for three.js built on three-mesh-bvh and WebGL 2. It provides physically based rendering with GGX materials, textures, normal maps, emission, environment maps, and tiled rendering.

## Use cases
- render photorealistic 3D scenes in the browser
- path trace glTF/GLB models with physically based materials
- add raytraced lighting and depth of field to a three.js scene
- render interior scenes with environment maps and volumetric fog
- build a drag-and-drop 3D model viewer with high-quality rendering

## When to choose
- you need physically based, high-quality offline-style rendering in WebGL
- your project already uses three.js and three-mesh-bvh
- you want GPU path tracing without native dependencies

## When to avoid
- you need real-time rasterization performance for games
- your target browsers lack WebGL 2 support
- you need production-grade rendering features like full spectral rendering or denoising pipelines

## Facets
- artifact type: library
- maturity: active
- function: graphics, simulation, image-processing
- domain: graphics, web-development
- platform: browser
- tags: path-tracing, raytracing, threejs, webgl2, bvh, physically-based-rendering, gpu-rendering, game-development, web-server, javascript

## Member repositories
- gkjohnson/three-gpu-pathtracer (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:40.553319+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:20:11.294073+00:00, confidence not recorded.
  - readme: https://github.com/gkjohnson/three-gpu-pathtracer (fetched 2026-08-28T04:05:40.553319+00:00, sha ad5eb8f00e66)
  - homepage: https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/index.html (fetched 2026-08-29T10:59:17.058494+00:00, sha c8eada188f3f)
  - registry_npm: https://registry.npmjs.org/three-gpu-pathtracer (fetched 2026-08-29T10:59:17.067532+00:00, sha de6fb21b347c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
