I went the way with the smoothstep function, with absolute value on X-axis.
Made it with ShaderMaterial
, but it’s pretty much doable with plain JS, as the framework has this.
I went the way with the smoothstep function, with absolute value on X-axis.
Made it with ShaderMaterial
, but it’s pretty much doable with plain JS, as the framework has this.