Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions examples-testing/changes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -21411,7 +21411,7 @@ index a5db67638..4d689dc1d 100644
});
});
diff --git a/examples-testing/examples/webgpu_postprocessing_ssr_denoise.ts b/examples-testing/examples/webgpu_postprocessing_ssr_denoise.ts
index 978c8ed67..231cb147e 100644
index 1ffbf8a6e..3cf79cbfe 100644
--- a/examples-testing/examples/webgpu_postprocessing_ssr_denoise.ts
+++ b/examples-testing/examples/webgpu_postprocessing_ssr_denoise.ts
@@ -23,10 +23,10 @@ import {
Expand Down Expand Up @@ -21506,7 +21506,7 @@ index 978c8ed67..231cb147e 100644
});

model = gltf.scene;
@@ -299,7 +311,7 @@ async function init() {
@@ -297,7 +309,7 @@ async function init() {
'Accumulation Speed (Alpha)': 6,
};

Expand All @@ -21515,7 +21515,7 @@ index 978c8ed67..231cb147e 100644
ssrGui.add(params, 'output', outputTypes).onChange(updateOutputNode);
ssrGui.add(params.ssr, 'quality', 0, 1).name('quality').onChange(applyParams);
ssrGui.add(params.ssr, 'mirrorBias', 0, 1).name('mirror bias').onChange(applyParams);
@@ -311,11 +323,12 @@ async function init() {
@@ -309,11 +321,12 @@ async function init() {
ssrGui.add(params.ssr, 'environmentIntensity', 0, 10).name('env intensity').onChange(applyParams);
ssrGui.add(params, 'roughness', 0, 1).onChange(value => {
scene.traverse(object => {
Expand All @@ -21530,7 +21530,7 @@ index 978c8ed67..231cb147e 100644
denoiseGui.add(params.denoise, 'enabled').name('enabled').onChange(applyParams);
denoiseGui.add(params.denoise, 'lumaPhi', 0, 3).name('luma phi').onChange(applyParams);
denoiseGui.add(params.denoise, 'depthPhi', 0, 50).name('depth phi').onChange(applyParams);
@@ -334,7 +347,7 @@ async function init() {
@@ -332,7 +345,7 @@ async function init() {
// denoiseGui.add( params.denoise, 'flickerSuppression', 0, 1 ).name( 'flicker suppression' ).onChange( applyParams );
// denoiseGui.add( params.denoise, 'adaptiveTrust', 0, 1 ).name( 'adaptive trust' ).onChange( applyParams );

Expand All @@ -21539,7 +21539,7 @@ index 978c8ed67..231cb147e 100644
temporalReprojectGui.add(params.temporalReproject, 'maxFrames', 1, 128, 1).name('max frames').onChange(applyParams);
temporalReprojectGui
.add(params.temporalReproject, 'clampIntensity', 0, 1)
@@ -351,8 +364,8 @@ async function init() {
@@ -349,8 +362,8 @@ async function init() {
temporalReprojectGui.close();

// Concise UI for Directional Light controls
Expand All @@ -21550,7 +21550,7 @@ index 978c8ed67..231cb147e 100644
lightGui
.add(directionalLight.position, axis, -30, 30)
.name(axis.toUpperCase())
@@ -404,7 +417,7 @@ function applyParams() {
@@ -402,7 +415,7 @@ function applyParams() {
}
}

Expand All @@ -21559,7 +21559,7 @@ index 978c8ed67..231cb147e 100644
let rgb = source.rgb;

rgb = renderOutput(vec4(rgb, 1), THREE.AgXToneMapping, THREE.SRGBColorSpace).rgb;
@@ -415,7 +428,7 @@ function applyGrading(source) {
@@ -413,7 +426,7 @@ function applyGrading(source) {
return vec4(rgb, 1);
}

Expand All @@ -21568,7 +21568,7 @@ index 978c8ed67..231cb147e 100644
return sharpen(traa(applyGrading(source), scenePassDepth, scenePassVelocity, camera), 0);
}

@@ -432,7 +445,7 @@ function applyPost() {
@@ -430,7 +443,7 @@ function applyPost() {
function updateOutputNode() {
if (!postProcessing) return;

Expand All @@ -21577,7 +21577,7 @@ index 978c8ed67..231cb147e 100644

switch (params.output) {
case 0:
@@ -472,7 +485,7 @@ function updateOutputNode() {
@@ -470,7 +483,7 @@ function updateOutputNode() {
updateCompareHint(params.output);

postProcessing.outputColorTransform = !GRADED_OUTPUTS.has(params.output);
Expand All @@ -21586,7 +21586,7 @@ index 978c8ed67..231cb147e 100644
postProcessing.needsUpdate = true;
}

@@ -484,7 +497,7 @@ function onWindowResize() {
@@ -482,7 +495,7 @@ function onWindowResize() {
compareResolution.value.set(window.innerWidth, window.innerHeight);
}

Expand Down
10 changes: 5 additions & 5 deletions jsdoc-testing/changes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1900,7 +1900,7 @@ index f607c677e..8bcc92481 100644
+
+export function ssr(colorNode: Node<'vec4'>, depthNode: Node<'float'> | Node<'vec4'>, normalNode: Node<'vec3'>, options?: SSRNodeOptions): SSRNode;
diff --git a/jsdoc-testing/jsdoc/examples/jsm/tsl/lighting/ClusteredLightsNode.d.ts b/jsdoc-testing/jsdoc/examples/jsm/tsl/lighting/ClusteredLightsNode.d.ts
index 3fc0b16d1..1257d8f69 100644
index 85645c2a0..1257d8f69 100644
--- a/jsdoc-testing/jsdoc/examples/jsm/tsl/lighting/ClusteredLightsNode.d.ts
+++ b/jsdoc-testing/jsdoc/examples/jsm/tsl/lighting/ClusteredLightsNode.d.ts
@@ -1,16 +1,5 @@
Expand Down Expand Up @@ -1951,12 +1951,12 @@ index 3fc0b16d1..1257d8f69 100644
- maxLightsPerCluster: number;
- _chunksPerCluster: number;
- _bufferSize: Vector2 | null;
- _lightIndexes: import("three/webgpu").UniformNode | null;
- _lightIndexes: any;
- _screenClusterIndex: any;
- _compute: any;
- _lightsTexture: DataTexture | null;
- _zSliceRangesTexture: DataTexture | null;
- _zSliceRangesData: Float32Array<ArrayBuffer> | null;
- _lightsTexture: DataTexture;
- _zSliceRangesData: Float32Array<ArrayBuffer>;
- _zSliceRangesTexture: DataTexture;
- _lightViewZ: Float32Array<ArrayBuffer>;
- _lightSortOrder: any[];
- _lightsCount: import("three/webgpu").UniformNode;
Expand Down
Loading