specoolar/Blender-BakeLab2

Generated material connects images to the wrong principled shader inputs (blender 3.0)

Closed this issue · 0 comments

j-fan commented

Hi, first off all, thank you for making this useful free addon!

Here is how the generated material looks in blender 3.0
The roughness, normal and glossy/metallic maps are not connected to the right input socket
bug

In the meantime, for users that just want to get this addon working, open up the folder of the file listed here

bug2

Open bakelab_post.py and modify these lines:
Change 7 to 9 (normal map)
https://github.com/Shahzod114/Blender-BakeLab2/blob/45dc3120b138d5af2fc4b1d4c794fa13b77be79b/bakelab_post.py#L130
Change 20 to 22 (roughness map)
https://github.com/Shahzod114/Blender-BakeLab2/blob/45dc3120b138d5af2fc4b1d4c794fa13b77be79b/bakelab_post.py#L89
Change 5 to 6 (metallic map)
https://github.com/Shahzod114/Blender-BakeLab2/blob/45dc3120b138d5af2fc4b1d4c794fa13b77be79b/bakelab_post.py#L122