threejs-debug-compose 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,12 +8,12 @@ Composable TSL debug views for a Three.js WebGPU render pipeline.
8
8
 
9
9
  The demo renders the scene into compact WebGPU MRT passes, exposes Beauty/Normal/Depth plus packed material buffers, and composites them through a fullscreen `RenderPipeline`.
10
10
 
11
- ![threejs-debug-compose composed viewport banner](./assets/readme-compose-banner.png)
11
+ ![threejs-debug-compose composed viewport banner](https://unpkg.com/threejs-debug-compose@0.1.1/assets/readme-compose-banner.png)
12
12
 
13
13
  ## Quick Start
14
14
 
15
15
  ```tsx
16
- import { DebugViews } from "./components/debug-views"
16
+ import { DebugViews } from "threejs-debug-compose/react"
17
17
 
18
18
  <DebugViews
19
19
  views={[
@@ -127,7 +127,7 @@ import { float, vec4 } from "three/tsl"
127
127
  Interactive GUI for switching views at runtime:
128
128
 
129
129
  ```tsx
130
- import { useDebugViewsControls } from "./components/debug-views"
130
+ import { useDebugViewsControls } from "threejs-debug-compose/react"
131
131
 
132
132
  const controls = useDebugViewsControls({
133
133
  viewLabels: ["Beauty", "Normal", "Depth", "Base Color / Albedo"],
@@ -148,7 +148,8 @@ For custom shader/debug nodes that may be recreated between React renders, prefe
148
148
 
149
149
  ```tsx
150
150
  import { float, vec4 } from "three/tsl"
151
- import { createCustomDebugView, DEFAULT_DEBUG_VIEWS, DebugViews } from "./components/debug-views"
151
+ import { createCustomDebugView, DEFAULT_DEBUG_VIEWS } from "threejs-debug-compose"
152
+ import { DebugViews } from "threejs-debug-compose/react"
152
153
 
153
154
  const fresnelView = createCustomDebugView({
154
155
  id: "shader:fresnel",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "threejs-debug-compose",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Composable TSL debug views for Three.js WebGPU render pipelines.",
5
5
  "license": "MIT",
6
6
  "type": "module",