Blender Materials with Python Code: Adding detail with noise

Опубликовано: 21 Октябрь 2024
на канале: CG Python
1,847
83

In this Step-by-Step tutorial for Blender Python beginners, we will add detail to the roughness of a material using a noise mask.
We will use randomness to get new material variations each time you run the script. And there will also be a couple of exercises to solidify your knowledge.

Initial code:
https://gist.github.com/CGArtPython/e...

Final code:
https://gist.github.com/CGArtPython/4...

Beginner Blender Python Playlist:
   • Beginner Blender Python Scripting Pra...  

00:00 - Intro
00:29 - Set up the workspace
00:50 - Go over the initial code
02:35 - Go over the steps
03:29 - Add the color ramp node
06:17 - Add the noise texture node
08:29 - Add the mapping and texture coordinate node
10:00 - Update the color ramp color stops
11:05 - Refactor code into a function
13:13 - Exercise #1
15:52 - Exercise #2

#blender #python #scripting