Why the 'position' input of the master node won't accept 'rotate around axis' node output? - SGraph

I’m trying to recreate this amplify grass shader in shader graph and I manged to convert the entire shader to shader graph (most of the nodes has the same name in both of the shader solution), but the problem I’m having is that the ‘position’ input of my PBS master node in shader graph won’t accept the output of the last subtract node right after the ‘rotate around axis’ node… (in page 9 there’s a screenshot of the entire node of this shader in amplify)

Thank you in advance :slight_smile:

I’m going to guess you’re sampling a texture with the Sample Texture 2D node. You need to use the Sample Texture 2D LOD.

Yes… you are right…
I now replaced them with LOD sample texture nodes and now I can connect the output to the ‘position’ input, but now I’m having different problem, now the ‘rotate around axis’ node is pink and the mesh disappeard from the scene…
Do you know what might cause this to happen?

Shader Graph is weird and buggy still? No idea. Try restarting the editor?

Didn’t work…
Thanks anyway… :slight_smile:

This thread may be too old, but @DAPPSD - were you able to get this working in shader graph once you switched to using Sample Texture 2D LOD nodes?

I don’t think, it’s a really old thread, sorry I just don’t remember, but if it had worked for me I would’ve said it here… so I guess it didn’t work…
Sorry I can’t be more useful :confused:

1 Like