Skip to content

Commit

Permalink
Update SMAAEdgeDetectionMaterial.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Mar 1, 2024
1 parent 965e800 commit 44446b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/materials/SMAAEdgeDetectionMaterial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class SMAAEdgeDetectionMaterial extends FullscreenMaterial {
defines: {
LOCAL_CONTRAST_ADAPTATION_FACTOR: "2.0",
EDGE_DETECTION_MODE: SMAAEdgeDetectionMode.COLOR,
EDGE_THRESHOLD: "0.1",
EDGE_THRESHOLD: "0.05",
PREDICATION_MODE: SMAAPredicationMode.DISABLED,
PREDICATION_THRESHOLD: "0.0002",
PREDICATION_SCALE: "2.0",
Expand Down Expand Up @@ -104,7 +104,7 @@ export class SMAAEdgeDetectionMaterial extends FullscreenMaterial {
*
* If depth-based edge detection is used, the threshold must be adjusted to match the scene depth distribution.
*
* @defaultValue 0.1
* @defaultValue 0.05
*/

get edgeDetectionThreshold(): number {
Expand Down

0 comments on commit 44446b3

Please sign in to comment.