Hi,
I am doing a car racing game (using Unity game engine for iOS), in which i am using 'Decal' shader (having 2 channels -- Base and Decal), to achieve an effect of skid marks on the race track.
But what i am getting is that the skid marks are appearing all over the track instead of certain desirable sections of road.
What do I require?
I am looking for an effect of skid marks randomly appearing especially at turns.
Please help me with proper shader if 'Decal' is not the right one for my case.
Reference images:
1. Effect achieved:
2. Effect required:
Replies
You could use multiple materials that are set up the same way, but with varying amounts of skidmarks....just have turning sections use skidmarks with more tire marks and less on straight paths. However, it will probably still be somewhat noticable that it tiles a lot.
Another thing you can do is just make decal planes with opacity, and make seperate geo for skidmarks and just place them right on top of the road. This will allow for a lot more flexibility for placement, but you'll spend a little bit more time placing them.