I have a weird problem. And I don’t know how fix it. I had to upgrade my project from ue 4.25 to ue 4.26. I have a lot of different materials and unfortunately one of them gives me a different result on the new version compared to the previous one. While debugging and looking for the problem, I saw that a different result gives one custom node. The code in this node is just “CalcSceneColor (uv)”. I created a simple material with only this node and in version 4.25 the preview effect is as it should be, while in version 4.26 the sphere in the preview is completely black.
What could be the problem? CalcSceneColor has changed between these versions? Should I call it differently in the new version?
I am not a great shader expert so I must admit that I stopped a bit here and I don’t know what it could be.