Salt Shaker
Made for AR project AppetizeR, currently in progress
Lens Studio Shader Graph & Blue Print
Interactive salt shader and VFX
Salt Shader
Salt shader with dynamic simulation.
Process Documentation
I wasn't able to find salt shader online, the most similar one is a magic potion shader that simulates liquid in a container. The link is https://www.youtube.com/watch?v=tI3USKIbnh0&t=203s
However, it doesn't handle several issues:
1. surface height should dynamically adjust to rotation and the shape of the container.
2. texturing and shading, rather than assigning a uniform color.
3. bumpiness of the surface of a pool of salt
In my own shader I take care of all the above to achieve a convincing salt simulation. I also use blue print to create the salt pouring interaction, that spawn salt vfx when tilted down, and decrease the remaining amount of salt when pouring.
For the next step, I'm planning to improve the texture of the salt and customize the glass shader. I also want to work on a better texture mapping for the fake "salt surface" using the backface




