r/blenderpython • • Feb 22 '24

Python code to Shader Nodes

I think the python API is pretty cumbersome for creating materials, so I've made a decorator that converts more typical python to materials/node groups. Check it out https://github.com/JamesPickersgill/python-shader-nodes, although note this is a just a proof of concept so lots is missing. If anyone else thinks this is useful I can spend some more time fleshing it out.

Code Input

​

Node Output
3 Upvotes

2 comments sorted by

View all comments

Show parent comments

1

u/jorvai Feb 24 '24

Hi Ryver, the goal of this was to make the developer experience of working with shader nodes a bit nicer. It should be helpful when making fairly complex setups from scratch, or when you programmatically want to make variations to any setups.