Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion examples/jsm/tsl/display/SSGINode.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ class SSGINode extends TempNode {

const noiseOffset = spatialOffsets( screenCoordinate );
const noiseDirection = gradientNoise( screenCoordinate );
const initialRayStep = fract( noiseOffset.add( this._temporalOffset ) ).add( rand( uvNode ).mul( 2 ).sub( 1 ) );
const initialRayStep = fract( noiseOffset.add( this._temporalOffset ) ).add( rand( uvNode.add( this._temporalDirection ) ).mul( 2 ).sub( 1 ) );

const ao = float( 0 );
const color = vec3( 0 );
Expand Down
4 changes: 3 additions & 1 deletion examples/webgpu_postprocessing_ssgi.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@
gui.add( giPass.useScreenSpaceSampling, 'value' ).name( 'screen-space sampling' );
gui.add( giPass, 'useTemporalFiltering' ).name( 'temporal filtering' ).onChange( updatePostprocessing );

function updatePostprocessing( value ) {
function updatePostprocessing() {

const value = params.output;

if ( value === 1 ) {

Expand Down
Loading