Thursday, September 25, 2014

UE4 - Textureless materials

I decided to make bricks and window blinds using the GenerateOffsetBands node in UE4. The problem with this is that at certain viewing distances you will get a Moire pattern. To fix this I used a CameraDepthFade node to blend between the full pattern, and a solid color. This automatically mimics anisotropic texture filtering too. (the default texture in UE4 uses this to fade smaller squares in when you're up close)