Closer Look: Understanding Various Distance Metrics

4 months ago
6

In your shaders, you’ve likely used functions like length() and distance(), which calculate Euclidean distance. But did you know there are other fascinating distance metrics that can create unique effects in your projects? In this tutorial, we’ll explore various distance algorithms, including Euclidean distance, Euclidean squared distance, Manhattan distance, Chebyshev distance, and Minkowski distance. Join me to deepen your understanding of these mathematical concepts and learn how to apply them effectively in your work! You could use the concept in any popular game engines like Unreal, Unity, Godot etc.

Fence pattern video! https://rumble.com/v6q1vng-fence-pattern-shader-tutorial-procedural-pattern.html

Loading 1 comment...