I want to set up a shader that adds in dirt to my asset that uses a trim sheet. What is my best approach here?
RGB Shader? I would have to use a second UV channel. Where can I learn how to do this? Theres no tutorials I can find.
Vertex Paint? I know the way unity handles vertex painting assets is completely roundabout with using Probuilder and Polybrush? Is there another way to do this? Seems a bit much.
Any help would be appreciated here. Im losing my mind.
Replies
Is this for a mobile game? Performance is at a premium there, so would have to get crafty with the shader.
Lots of ways to do dirt mapping. An example of what you have so far, and what you’re aiming towards would help a ton.
Though I would absolutely love to be able to set up an RGB mask shader so I can have all this dirt added with masks, but unfortunately I lack a bit of knowledge how to set that up in Unity.
I haven’t used Unity in a while, but it comes with a shader editor I think. There have to be a lot of tutorials out there for how to wire up a vertex masking shader.
You would need to add some extra vertices here and there, depending upon how lowres the buildings are. Vertex color is just a linear gradient between two verts, so it could span the whole width of a building if the resolution was low.