Duion Posted August 31, 2018 Share Posted August 31, 2018 I noticed that when using DecalRoads that sometimes there appear ugly lines on the shadows and if the shadows are strong, the lines are even there all the time, here is an example:From what I could find out so far is, that the lines only appear with decal roads that have normal maps on them and they appear the stronger, the stronger the shadows are (for the example screenshot I made the shadows much stronger than normal). In most cases it is hardly visible, mostly only if something casts a shadow on the road, but for the level I'm building now for some unknown reason, the lines are too visible even when no shadow is cast on the road, which is pretty annoying.So anyone got an idea what it is or how to fix it? Quote Link to comment Share on other sites More sharing options...
Duion Posted August 31, 2018 Author Share Posted August 31, 2018 Meanwhile I found out that if you have a decal road on a terrain that has also a normal map, the decal road will inherit the normals of the terrain, or more they will get added to the normal map from the decal road, this may cause the visual bug. Depending on the strength of the normal maps it also seems to influence the strength of the visual bug. Quote Link to comment Share on other sites More sharing options...
Duion Posted August 31, 2018 Author Share Posted August 31, 2018 Ok latest state of my investigations is, that the problem arises from using transparency on the material with lerp alpha blend mode and "transparency Z-write" checked.Decal roads without transparency and only maybe alpha treshhold do not look good, thats why I added smooth transparency as well, seems like this causes a problem, since transparency also lets the texture below shine through. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.