Creating a Foliage Shader in Unity URP! Grass, Trees, Flowers

Опубликовано: 14 Октябрь 2024
на канале: Ned Makes Games
8,258
283

✨ Watch the full tutorial! ✨
►    • Creating a Foliage Shader in Unity UR...  

Do you have a material that doesn't look quite right in Unity's URP lit shader graph? Or would you like to experiment with stylized art styles with the convenience of the shader graph? In this tutorial, I show how to implement custom lighting, allowing you to solve both those problems. Afterwards, you could extend the graphs I show here to make a toon shader or handle difficult materials, like plant foliage, hair, skin, or fabric.

📚 If you prefer reading, check out the written version of this tutorial here:
►   / creating-a-foliage-shader-in-unity-urp-sha...  

🌞 Interactive lighting math explorer:
► https://nedmakesgames.itch.io/lightin...

👋 Subscribe for weekly game development videos!
► https://www.youtube.com/c/nedmakesgam...

👑 Join my Patreon to watch videos early, download all project files, vote on future topics, and more! Thank you so much!
►   / nedmakesgames  

🔗 Visit my website for a searchable list of tutorials!
► https://nedmakesgames.github.io

2️⃣ 2nd Channel ►    / nedmakesgames2  
🔴 Twitch ►   / nedmakesgames  
🐦 Twitter ►   / nedmakesgames  
🎮 Discord ► https://discordapp.com/invite/ubxSVBK
📸 Instagram ►   / nedmakesgames  
👽 Reddit ►   / nedmakesgames  
🎶 TikTok ►   / nedmakesgames  
☕ Ko-fi ► https://ko-fi.com/nedmakesgames

🎖️ Credits, references and further reading:
• Lee Rosevere: Music for Podcasts - https://leerosevere.bandcamp.com/
• Cyanilux: URP_ShaderGraphCustomLighting - https://github.com/Cyanilux/URP_Shade...
• XfrogPlants: Curry Leaf Tree Free 3D model - https://www.cgtrader.com/free-3d-mode...
• Ada_King: LowPoly Trees & Carrot & Crystal 3D model - https://www.turbosquid.com/3d-models/...
• Lennart Demes: Grass 001 - https://ambientcg.com/view?id=Grass001
• Baptiste Manteau: Bark old ginko - https://substance3d.adobe.com/communi...
• Render Knight: Fantasy Skybox FREE - https://assetstore.unity.com/packages...
• Alan Zucconi: Fast Subsurface Scattering in Unity - https://www.alanzucconi.com/2017/08/3...
• GetDeadEntertainment: CliffRockTwo 3D model - https://www.turbosquid.com/3d-models/...
• TotallyRonja: Vertex Displacement - https://www.ronja-tutorials.com/post/...
• CatLikeCoding: Rendering 6 (normal mapping) - https://catlikecoding.com/unity/tutor...
• Ben Golus: Normal Mapping for a Triplanar Shader - https://bgolus.medium.com/normal-mapp...
• Ben Golus: Generating Perfect Normal Maps for Unity (and Other Programs) - https://bgolus.medium.com/generating-...
• Travel Photographer: garden hedges (photo of Atlanta Botanical Garden) - https://stocksnap.io/photo/garden-hed...

Neon Laser Horizon by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song...
License: https://filmmusic.io/standard-license

#Shorts #Gamedev #Unity