Collapsed sockets in Principled BSDF 4.0

Hello everyone, I have a material aggregator addon that I created myself for some specific purposes, I noticed that in Blender 4.0 it’s failing to access the emission socket of the Principled BSDF, and interestingly enough, this is one of the sockets that are now collapsed. I’ve been searching in the documentation and on the web if something changed on the way we access them, but have not found anything. Do you know anything about it? Thank you very much!

Various sockets were renamed, see:
https://developer.blender.org/docs/release_notes/4.0/python_api/#shader-nodes

1 Like

Oh, that’s exactly what I was missing! Thanks!!