Archive 17/01/2023.

Example 08 issues

Dave82

Hi i started to add bullet hole decals , but it’s seems that if you align the decals from a very “steep” angle , the uv coords become extremely distorted

They are always screen aligned therefore they are distorted if you look them from different angle. I tried to align them to surface normal or using fixed orientation none of them helped
Is there a way to place them aligned to surface normal and keep the texture coords ?

cadaver

This is mathematically exactly as expected, though visually unfortunate. You could check the normal with a raycast before applying the decal and if it’s too extreme, don’t add the decal, or maybe use another texture that represents a “grazing” hit.