Feb
22
2023

Fake 3D Parallax Effect using Shader & (Pre-generated) Depth Map

Cool effect: http://depthy.stamina.pl/#/sample/mango

Converted this few lines into unity shader:
https://gist.github.com/bozzin/5895d97130e148e66b88ff4c92535b59

Finished shader (unlit, build in pipeline) + mouse position script:
https://gist.github.com/unitycoder/696a07c9de34e6a8fd28dc7de2362501

making of

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.