New answers tagged fragment-shader
4
votes
Accepted
What's the difference of using smoothstep and linear interpolation for antialiasing?
strength = clamp(lineWidth - distance, 0.0, 1.0);
This method isn't linear interpolation, it is clamped linear falloff.
Linear interpolation:$L(a,b,t)=a+t⋅(b−a)$ ...
Top 50 recent answers are included
Related Tags
fragment-shader × 62shader × 24
opengl × 17
glsl × 17
texture × 5
antialiasing × 4
opengl-es × 4
raytracing × 3
mathematics × 3
gpu × 3
webgl × 3
interpolation × 3
rasterizer × 3
rendering × 2
c++ × 2
image-processing × 2
color × 2
vulkan × 2
performance × 2
filtering × 2
buffers × 2
transparency × 2
deferred-rendering × 2
gaussian-blur × 2
metal × 2