Blender Python Tutorial : How to create and assign a Material Shader [learn python for beginners]

Pubblicato il: 10 agosto 2020
sul canale di: Darkfall
21,268
423

In this Blender Python Tutorial, we will be taking a look at not only creating a Shader Material but also assigning that material to the currently selected object.

Looking to learn Python for beginners? You are in the right place. Be sure to check out the Scripting Playlist!.

We can create something simple or something complex but both ways will be using an Operator. We first create a panel where our button will live. Then we can create a simple operator, that when pressed will create and assign a Shader Material to the Selected Object.


If you want the user to have any options, we can easily upgrade the simple operator and make it become a popup dialog box. We can then giver the user control over any setting or option. In this example we want the user to be able to set the color before adding the Shader.

If you want more information or to download the template script you can check out the Blog Post here: https://darkfallblender.blogspot.com/...

Shader Library Add-on : https://darkfallblender.blogspot.com/...

Updated Registration Method Post: https://darkfallblender.blogspot.com/...

I hope you found this Blender Python Tutorial helpful and as always thanks for watching!


In questa pagina del sito puoi guardare il video online Blender Python Tutorial : How to create and assign a Material Shader [learn python for beginners] della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Darkfall 10 agosto 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 21,268 volte e gli è piaciuto 423 spettatori. Buona visione!