✔️ Works in 2020.1 ➕ 2020.2 ➕ 2020.3
🩹 Fixes:
► Make sure your source mesh has read/write enabled in it's asset importer inspector.
Geometry shaders are special shaders that can add, remove, and modify mesh triangles from the GPU, allowing you to create efficient deformation effects and procedurally constructed models. You can use them for grass, fur, wireframes, particles and more. These shaders, unfortunately, cannot be written in a shader graph, so I'll walk you through writing one in code!
👋 Subscribe for weekly game development videos!
https://www.youtube.com/c/nedmakesgam...
👑 Join my Patreon for extra influence over topics, early access to videos, and downloadable project files!
► / nedmakesgames
🔗 Check out my website for a searchable list of tutorials!
► https://nedmakesgames.github.io
🔴 Twitch ► / nedmakesgames
🐦 Twitter ► / nedmakesgames
🎮 Discord ► https://discordapp.com/invite/ubxSVBK
📸 Instagram ► / nedmakesgames
👽 Reddit ► / nedmakesgames
🎶 TikTok ► / nedmakesgames
☕ Ko-fi ► https://ko-fi.com/nedmakesgames
✨Follow up videos
► Geometry shader grass: • Rendering Grass In Unity URP Using No...
► Intro to compute shaders: • Intro to Compute Shaders in Unity URP...
📜 Required scripts
► NMGGeometryHelpers.hlsl: https://gist.github.com/NedMakesGames...
📚 Reference scripts
► PyramidFaces.shader: https://gist.github.com/NedMakesGames...
► PyramidFaces.hlsl: https://gist.github.com/NedMakesGames...
⏲️ Timestamps:
0:00 Intro
0:38 Project setup
0:51 Vertex-fragment shader
5:36 Geometry shader
8:12 Shadow caster pass
8:59 Wrap up and credits
🎖️ Credits and references:
• Shahriar Shahrabi: volumetric grass - / volumetric-grass-shader
• CJT-Jackton: URP geometry shader examples - https://github.com/CJT-Jackton/URP-Ge...
• freepik: crumpled paper texture - https://www.freepik.com/free-vector/w...
• Jasper Flick: flat and wireframe shading - https://catlikecoding.com/unity/tutor...
• Rolemusic: music "The Black Kitty" - https://freemusicarchive.org/music/Ro...
#GameDev #IndieDev #Unity
Смотрите видео Geometry Shaders Made Easy In Unity URP! For Those New to Shaders! ✔️ 2020.3 | Game Dev Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ned Makes Games 21 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 16,520 раз и оно понравилось 438 людям.