How to use URP Shader Graph on a tilemap?
I'm making a 2D game using two tilemaps on the URP engine (using 2D lights). One of them is the "island" and the other is the "ocean." The island tilemap is just a basic tilemap with ground and plants etc. and the ocean tilemap is just a simple blue sprite with a tilemap collison on it. I would like to add a shader using shader graph to the ocean tilemap and I cannot figure out how to at all. There is little to no documentation on this and I've spent the last 2 days trying to find out how. Any help would be greatly appreciated.
Answer by Phantom027 · Aug 03, 2020 at 03:08 AM
You create the shader and right click, create and press material. Then you will have a material for said shader... After which you can edit the shader graph and when done press on the tilemap you want to add the material too and drag it into the material. Either way make sure your shaders in urp have texture 2D in them so you don't recieve errors.
$$anonymous$$ake sure you save the shader or else the changes won't take effect lol.
Your answer
Follow this Question
Related Questions
Network how to synchronize large tilemap that's made up of bits 0 Answers
Can you use tIDE with Unity? 0 Answers
Get tile from trigger 0 Answers
destructible tilemap, destroying tiles through overlapcircle 1 Answer
Question about tiles 1 Answer