Free

Blender Materials with Python Code: Adding detail with noise

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/e6ba86accb113d0d0a7b2b6e776625bc

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

Beginner Blender Python Playlist:

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

Blender Materials with Python Code: Adding detail with noise


View on YouTube
  • Price type: Free