I have no experience with shaders, but it looks like I might have to learn! I just wondered if someone can confirm whether this is possible before I dive in?
I need a shader that will modify uvs in order to “line up” a texture across adjacent objects (2D), so that it looks seamless.
The shader posted in an answer here does what I want, except I don’t need/want lighting. My question is whether this is possible without using a Surface shader? The docs state not to use surface shaders if the surface isn’t using light, I guess for performance.
That’s a vertex/fragment shader that I think may do something similar to what the subshader does. There may be some errors in places but it’s the basic idea.
Thanks. The texture is now showing and is “seamless”, but the texture “moves” with the camera. I thought using another built in matrix might fix it but no luck.
Thanks for the help and sorry for being a bit useless
thank you sooooooooooooo much, thank you sooooo sooo sooo much. i was about to ask a doubt but while typing itself i found the answer. for those who cant get the texture repeated, change the texture from clamped to repeat mode in inspector. thank you soo much guys. love you all