Visualizing Equations: Procedural Eye Potion 2D.
by Jettelly
Published |
Share
With the power of math, create a magical, animated potion effect in 2D!
Explore the creation of a magical, animated potion effect in 2D! This shader, known as the Procedural Eye Potion, is made entirely in Unity using HLSL and Shader Graph to bring math equations to life. By layering linear, trigonometric, and exponential functions, the effect captures the swirling, mystical essence of a potion with an eye inside.
Originally built in Desmos to map out the math, this effect has been translated into Unity through HLSL, combining multiple equations to achieve a captivating, otherworldly appearance. Each mathematical layer brings unique details, from the bottle’s shape to the fluid’s movement, offering a deep dive into procedural shapes and shader techniques.
This effect is one of many featured in the book Visualizing Equations: Shader and Procedural Shapes for Technical Artists, a guide crafted to help artists master shader math for visual effects. Whether you’re creating in Unity, Godot, or any other engine, this book offers a range of practical examples for technical artists.
Ready to bring math-driven effects to your own projects? Discover more techniques and download resources in our book.
Jettelly wishes you success in your professional carrer! Did you find an error? No worries! Write to us at [email protected], and we'll fix it!
© 2024 Jettelly. All rights reserved. Made with ❤️ in Toronto, Canada