Shader is animating in ShaderForge preview but not in engine
I'm working on a vertex offset shader for my grass. Getting some weird behaviour.. I had this working fine before using a simple gradient through a sin wave, but I haven't been able to get it to work with my noise texture and a panner. The grass will animate in Shader Forge's preview but not in Unity.
This is my current setup.
Answer
Make sure you have your material set up correctly, you may have missed a parameter that you had in SF. It could also be a scale issue either on the gameobject itself, or simply that you're using two vastly different sizes of meshes to test
Ah it was a dumb mistake on my part. Thanks for the reply Joachim.
I forgot you can't hardcode stuff like textures in Unity shaders. I needed to also choose the noise texture in the material.
Thanks for the awesome tool Joachim.
Customer support service by UserEcho
Glad it worked out!