I looked at the HLSL, but I'm not great at figuring out what the code should be. I can't see anything glaringly wrong, but I'm not sure what I'm looking for either. That's why I'm using a node-based editor. :D // -------------------------------------- ShaderVertex --------------------------------------SHADERDATA…
@Eric: you can also try to save the hlsl to disk and just see if the code gives you some suggestion of what might be wrong. E.g. if you are in the wrong space, or if you are using a node that is not working properly inside the vertex shader.
the vertex position input expects the position to be in 'object' space. if you take a step back and plug in the "vertex position" node that you find (in advanced mode) then it should work. Then e.g. multiply the vertex position output with 2 and you will see the object expand around its pivot. That works for me here. It is…
Thanks Kees. Which vertex position node? I moved my nodes into the Material group, but the triangles are invisible again. I also drilled into the Vertex Shader group inside the Material group, and moved my nodes into there. The triangles are visible now but not moving.
When doing funky animated shader effects earlier this week in Maya I just added values to the stream between the "node" and "AifBempty" in that network (one step to the right of where you've plugged in your solution now). Worked well for me. The Vertex Shader Grp node looks similar(identical?) in Maya.
Hmm, still not working for me. Not sure what I'm doing wrong. :( Node turns red, but no errors appear. I get an error message only when I try to plug the original Vertex Position node back into the Default input for AifBempty (the cursor in this screenshot is about to do just that). Which is very weird, since nothing…