Skip to content

Commit

Permalink
WebGLRenderer: Fix feedback loop in transmission pass for WebGL 2. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Jun 27, 2023
1 parent b621f0e commit c1e558c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/WebGLRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ class WebGLRenderer {
generateMipmaps: true,
type: extensions.has( 'EXT_color_buffer_half_float' ) ? HalfFloatType : UnsignedByteType,
minFilter: LinearMipmapLinearFilter,
samples: ( isWebGL2 && antialias === true ) ? 4 : 0
samples: ( isWebGL2 ) ? 4 : 0
} );

// debug
Expand Down

0 comments on commit c1e558c

Please sign in to comment.