Closed timmybo5 closed 1 year ago
This was an obvious typo in the Split node. Someone changed Screen Position to return a float2 so that's why this error has now popped up for you.
Also please note because of the Screen Position change, you'll have to change your shader. I believe you don't need to do the split, combine and divide anymore.. just plug the screenposition into the texture coord input.
The divide by w
gives a special effect basically wrapping it around the meshes ignoring the uv's, without that it's just a normal screenspace effect
I need it to create this sort of skins, not sure how it would be possible otherwise.
Yeah sorry, Screen Position node was changed to do something else and I don't know why. I might revert it.
Alright, I've reverted ScreenPosition to do what it was doing before and added common accessors so you don't need to bother splitting and combining. Here's how to do what you were doing before. Hope this helps.
Even better! Works perfectly :)
Describe the bug
A recent update of Shadergraph broke one of my already working shaders by changing the usage of
w
in the compiled shader code.Old compiled code:
New compiled code:
Reproduce with: