Hi everyone. I don’t recall anyone ever posting anything about that method ever on the internet, so here’s a little tutorial.
This is basically a kind-of normal-map faking trick.
I am gonna do this on a road texture.
So first, get an asphalt/road texture. I used this one [the first one that’s seamless]:
Now just slap that as a texture on a part, or like I did, just set the part material to Concrete and the color to any you want [no texture].
Now the fun part:
Open Photoshop. I’m not sure if it’s possible on any other software, but I think you’ll figure out if you are able to.
With the Color pick, select the kinda “general” color of the road. -
Then go to Select > Color Range.
Adjust the fuzziness until it selects the cracks/“deep” spots, then click OK and press Del 1-2 times (depending on how much fuzziness you selected, maybe you don’t have to) while mask is selected. You should now be left with an “extraction” of the cracks or “deep” spots.
You should get something like this:
Now you make an invisible brick above your main road part, set it’s material to Air and change the texture to the new image. I suggest playing with transparency of the texture a little.
You set it to air to get rid of the specular highlights on the crack texture(s), which gives it that normal map effect we are looking for. You set it to air by just doing [yourpart].Material=Enum.Material.Air in the console or a script.
I had 2 different variations of that texture simultaneously on the road (air) part.
The 0,0,0 color one is the cracks themselves, and the 222,222,222 color one is basically like a little texture-filler for better looks.
Note how I changed the cracks texture(s) to white instead of black in photoshop, and made the edges transparent. The white color is in-case you wish to recolor the cracks texture. The edge removal is to avoid overlapping when making actual road curves.
However, you might notice, that without the 222,222,222 color filler and only cracks the transparent edges might be very noticable
This is where the filler texture with a higher StudsPerTileU/V comes into play, hiding the transparent edges of the crack texture and adding more texture to the road.
That’s pretty much it.
note: we obviously have no guarantee of the Air material working like that forever, but I am super-positive that it will last until we get Custom Materials
EDIT: There is another way to do the Color Pick part/Cracks texture part. So, instead of selecting “the kinda “general” color of the road”, select the color black, then adjust the fuzziness to your liking. When you click OK and PS highlights the selection, press CTRL+ALT+I to invert the selection, and press Del.
It should be the better way, especially if your texture has different colors.
EDIT 2: Specular map faking trick