generated from AfonsoCMSousa/CPP-Template
Finnished this Noise Program
This commit is contained in:
parent
9107273a0c
commit
d92557ebda
@ -140,6 +140,7 @@ void main() {
|
||||
}
|
||||
|
||||
// Denoise edges -> "Insane look-alike effect"
|
||||
color += mix(color, vec3(0.0), smoothstep(0.0, 0.02, abs(noise - 0.9)));
|
||||
// color = mix(color, vec3(0.0), smoothstep(0.0, 0.02, abs(noise - 0.9)));
|
||||
|
||||
FragColor = vec4(color, 1.0);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user