#Shader animates in shader graph preview but not in Scene or Play mode

1 messages · Page 1 of 1 (latest)

onyx tide
#

Hi, fairly new to shaders. I've been following the Unity Learn tutorials and tried to make my own 'scintillating' shader. In the shader graph preview, it looks like the shader correctly moves / scintillates. But, when applied to a material and put on a mesh, it's just static. Have put screenshots, what am I doing wrong here?

harsh delta
#

Or is it always a single solid color?

onyx tide
#

Hey @harsh delta, thanks. Yes I have 'Always Refresh' enabled, and other animated shaders are rendering with motion

harsh delta
#

Is that a Unity default capsule or your own mesh?

onyx tide
#

default

#

Tried it with other defaults just now, e.g. default sphere. Same behaviour :/

harsh delta
#

Just making sure, this is the same shader (since the SG screenshot shows 'metallic' and the inspector shows 'metallica' :D)?

onyx tide
#

ah yeah haha, it is the same, I renamed metallica to metallic

harsh delta
#

Ok, not sure then. Does anything change if you play around with the CellDensity or CellMovementSpeed values in the inspector?

onyx tide
#

not that I can see, I tried setting them to extremely large (e.g. 5000) and extremely small (0.01). Material still is just a solid pink without movement

#

I will recreate this shader graph in a totally new project later and see if I get the same issue

#

This is on Unity version 6000.3.11f1

#

And running MacOS 26.3.1

onyx tide
#

Hmm, same behaviour in a totally blank project