View by Component

Physics , Physics 2D , Audio , UI , Tilemap , Cinemachine , Timeline , Network , Animation , Animator , Sprites , Scripting , Tips , Colliders , 2D Colliders , Rigidbody , Rigidbody 2D , Interaction , Editor , Game Mechanics , In-App Purchase , Material , General , Prefab , ProGrids , Light , Rendering , Ads , Scriptable Objects , Events , Level Design , Making Of , Assets , Procedural , ProBuilder , Particles , Machine Learning , News & Announcements , Conference , Enemy & NPC , PlayerPrefs , Post Processing , Interview , Shader , VFX , TextMeshPro , InputSystem , XR

Random Colors And Materials In Unity (Procedural Generation Basics Tutorial)

Uploaded by Matt MirrorFish
Share: Twitter Facebook
In this game development focused procedural generation basics tutorial we look at how to randomly generate a color in Unity using C#, how to generate a new material and how to apply it to an object via script. In upcoming videos on the channel we will look at procedurally generating color palettes as well using some basic color theory.

You can download the source code for free here: http://bit.ly/pcgbasicsrepo

More from Matt MirrorFish
Procedural Generation For Beginners: Randomize Rot... Matt MirrorFish
Procedural Generation Basics: Prevent Overlap Spaw... Matt MirrorFish
I Made A Weird AI Art Game In 7 Days Matt MirrorFish
Procedural Generation For Scene Colors (Tutorial) Matt MirrorFish
Procedural Generation Basics: Randomize Scale (Cre... Matt MirrorFish
How To Generate Random 3D Buildings In Unity Matt MirrorFish

Related
Procedural Generation Basics: Randomize Scale (Cre... Matt MirrorFish
Setting A Random Seed In Unity3d : Procedural Gene... Matt MirrorFish
Procedural Generation Basics: Prevent Overlap Spaw... Matt MirrorFish
Unity Procedural Forest: Procedural Generation Bas... Matt MirrorFish
Procedural Generation Basics: Spawn A Grid In C# [... Matt MirrorFish
How To Combine Meshes: Unity Procedural Generation... Matt MirrorFish
Unity Copilot

A platform that gathers Unity tutorials in one place.
Developed by Omar Balfaqih to help Unity learners find tutorials easier and faster in a tailored way.

© 2025 Copyright: UnityCopilot.com
Do you like cookies? 🍪 We use cookies to ensure you get the best experience on our website. Learn more