Skip to main content

All Questions

9 questions with no upvoted or accepted answers
4 votes
0 answers
749 views

Copy node tree from one material to another in cycles using python

I have two cycles materials (say source and target). I want to copy the Shader Nodetree from the source material to the target material after clearing any currently present node tree(s) in the target ...
Varun kumar's user avatar
2 votes
0 answers
313 views

Checking for node tree update

I would like to check if a cycles material has been updated since the last check. The easiest way to do that would probably be to store the nodetree somewhere and check against the current node tree. ...
schustudrai's user avatar
2 votes
0 answers
327 views

Custom Python Nodes: Calling Group Node

I am writing a custom shader node that essentially "Calls" a predefined group node into the code. Here is the group node I am looking to call: I am using the "CustomNode" template that is packaged ...
jay's user avatar
  • 524
1 vote
0 answers
58 views

Cycles render in background exits with error in Blender 2.91.0, on Linuxmint

I have now a recurring new problem: when I want do render a simple animation the program stops with following errors: ...
s Kaiser's user avatar
1 vote
0 answers
157 views

Adding a nodes tree from my own material instead of Principled BSDF in Python

When you click the "use nodes" button, the Principled BSDF node appears in the shader editor connected to the output node, and the properties of the Principled BSDF node appear in the ...
egycno's user avatar
  • 23
1 vote
0 answers
153 views

Hair on diffuse color pass is black and has no albedo information?

I have a object (face with hair) and I want to get the albedo from my diffuse color pass in Blender 2.8. I only get the image without hair. How can I get the whole image or just its albedo color? I ...
user96930's user avatar
0 votes
0 answers
78 views

How to write a python code for changing color space of image texture attached to normal map as well as strength of normal map?

I want to write a code for changing color space of all image textures attached to normal maps as well as strength of all normal maps to 1.
Manwire06's user avatar
0 votes
1 answer
760 views

What type of normal and specular map nodes is correct for these textures

I am creating a plugin to import some model files from a game to blender, with all the textures and materials created automatically. I am creating a principled bsdf node from python and assign ...
Panos Paschalis's user avatar
0 votes
0 answers
186 views

Link Image Texture Path to Object Name

I have a material node setup in cycles that I am trying to get an image texture file path to automatically updated based on the name of the object that the material is applied to. For example, if the ...
aschafer14's user avatar