With one shader, transform the graphics of your game from simple 2D and give it a 3D feel!
📁 Project: https://github.com/gurpreetsinghmatha...
💞 Udemy (Discounted) Link: https://www.udemy.com/course/crafting...
(if that doesn't work, try this: https://www.udemy.com/course/crafting...)
⚠️ Coupons may expire, so please check my latest video or contact me if the price is too high.
💗 Udemy Course Trailer: • New Course -- Building a Crafting Gam...
(Really appreciate all the support!)
🤝 Join our Discord for free help: / discord
🐤 Follow me on Twitter to stay updated: / itsmatharoo
Credits:
Thanks a lot to Anthony Pismarov for the art!
/ anthonypismarov
And thanks to Juju for letting me know about the View Matrix trick!
/ jujuadams
Timestamps:
00:00 Intro
00:48 Theory Explanation
03:42 Texture Settings
04:15 Z-Depth Ordering
06:07 Coding the Shader
09:23 Applying Shader (Single Batch)
11:28 Bonus - Lighting Trick