#Why isn't my vertex snapping shader working? (Shader Graph in Unity 2021.3)

1 messages · Page 1 of 1 (latest)

glad orbit
#

I assume it's not showing in the preview as the resolution variable is treated as 0 until it is assigned a value in the editor. Also is there a way to assign both a vertex shader and a material to an mesh?

#

Are there settings I need to change in the unity editor to make shaders work or something

#

I also get these two errors

glad orbit
#

The preview in the inspector kind of looks like what I would expect butt in the scene it makes everything massive and moves it around

#

oh maybe it's because the position input is world space and I'm feeding it into object space

#

is there a way to convert? because I want to use world space

glad orbit
#

?

timber zealot
#

Just transform from world to object space and thats it

glad orbit
#

Thanks yeah that worked, didn't know that was a thing