Don't Let Unity Materials CONTROL YOU! (Material Properties at RUNTIME)

https://www.youtube.com/watc...
Lets look at programming material properties at runtime in C#. This Unity tutorial will show you how to change textures, sliders and properties directly from your materials. Including: Albedo, colors, metallic, normal, height and all the other maps. We'll look at changed shared materials and also instanced. I have written blocks into the timeline, to give you easy reference to all of this information! ➡️Link to Script from this video: https://www.patreon.com/posts/66940530 ➡️Emission Tutorial: https://www.youtube.com/watch?v=aMKg6yYnMPI& ➡️Standard Shader Properties: https://github.com/TwoTailsGames/Unity-Built-in-Shaders/blob/master/DefaultResourcesExtra/Standard.shader ➡️Editing rendering mode at runtime: https://github.com/Unity-Technologies/UnityCsReference/blob/master/Editor/Mono/Inspector/StandardShaderGUI.cs ························································································· 🔥 INSANE UNITY SAVINGS 🔥 🕹️Unity UI MASSIVE Publisher Sale: https://bit.ly/UnityUIPublisherSale 🕹️Unity FLASH DEALS: https://bit.ly/UnityFlashDeals 🕹️Unity WELCOME2022 Offer: https://bit.ly/UnityWelcome2022OFFER 🔥 INSANE HUMBLE SAVINGS: https://bit.ly/HumbleBundleDeals 🔥 🕹️Royalty Free Music & SFX Bundle: https://bit.ly/RoyaltyFreeMusicSFXbundle 🕹️7000 Game Dev Icons: https://bit.ly/7000GameDevIconsHumble 🕹️Grand GameDev Humble Bundle: https://bit.ly/GrandGameDevMegaBundle 🕹️Coding Cookbook Humble: https://bit.ly/CodingCookbooksBundle 🕹️Learn Unreal Engine 5 Bundle: https://bit.ly/LearnUnreal5Bundle 🕹️JustCreate LOWPOLY Unity Bundles: https://speedtutor.tiny.us/JustCreateBundles ························································································· 🎁 Get OVER 145 Scripts, Projects and premium content on my PATREON HERE: http://bit.ly/SpeedTutorPatreon 💬Join the Community Discord: https://discord.gg/vnhWy6R 💰BIG DISCOUNTS on my website, for my UNITY ASSETS: (Use the code "speedtutor-yt-5" for an additional 5% off) https://www.speed-tutor.com 💝 Make a donation to the channel: http://www.paypal.me/speedtutor ························································································· 00:00 Intro 00:44 Looking at the Material 01:23 Resource on Github for Shader details 01:39 Finding Shader Properties in the Editor 01:54 Shader Properties Reference Guide 02:11 Creating the Material Properties Script 02:19 Editing the rendering mode 02:35 Scripting Albedo Map / Color 03:15 Differences Between Shared and Instanced Material 06:57 Scripting Albedo Alpha 08:16 Scripting Metallic Map & Smoothness Value 08:55 Unity’s Smoothness, Glossiness and Metallic 09:25 Looking At all of the Material Properties & Script ························································································· ⬇️ Check Out My Puzzle Assets - Unity Asset Store: http://bit.ly/SpeedTutorAssetStore 🧩Adventure Puzzle Kit: http://bit.ly/adventurepuzzlekit 🧩Safe Unlock System: http://bit.ly/safeunlocksystem 🧩Chess Puzzle System: http://bit.ly/chesspuzzlesystem 🧩Examine System: http://bit.ly/examinesystem 🧩Generator System: http://bit.ly/generatorsystem 🧩Keypad System: http://bit.ly/keypadsystem 🧩Gas Mask System: http://bit.ly/gasmasksystem 🧩Flashlight System: http://bit.ly/flashlightsystem 🧩Note & Letter System: http://bit.ly/letternotesystem 🧩Themed Key System: http://bit.ly/themedkeysystem 🧩Padlock System: http://bit.ly/padlocksystem 🧩Phone System: http://bit.ly/phonecallsystem 🧩Lever Puzzle System: http://bit.ly/leverpuzzlesystem 🧩Valve Puzzle System: https://bit.ly/ValvePuzzleSystem 🧩Fuse Box System: https://bit.ly/FuseBoxPuzzle ⬇️Model Packs: 🧩PBR Themed Key Model Pack: http://bit.ly/themedkeymodelpack 🧩PBR Chess Piece - Key & Fuse Model Pack: http://bit.ly/chesskeyfusemodelpack ························································································ ▼ Connect with me: ⭐| Become a Patron: http://bit.ly/SpeedTutorPatreon 💬| Discord: https://discord.gg/vnhWy6R 🐦| Twitter: https://twitter.com/SpeedTutor 📱 | Facebook: https://www.facebook.com/Speedtutoruk 🖥 | Website: http://www.speed-tutor.com ······················································································· #SpeedTutor #Unity #Materials
Home
/
Indie Game Developers
/
SpeedTutor
/
Don't Let Unity Materials CONTROL YOU! (Material Properties at RUNTIME)