# Normal Map masking based on Blue Channel

**URL:** <https://forums.unrealengine.com/t/normal-map-masking-based-on-blue-channel/304095>\
**Category:** Rendering\
**Tags:** normal-maps, compression, unreal-engine, UE4, question\
**Created:** [January 15, 2015, 9:48pm UTC](https://forums.unrealengine.com/t/normal-map-masking-based-on-blue-channel/304095 "2015-01-15T21:48:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nmbr\_13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nmbr\_13](https://forums.unrealengine.com/u/Nmbr_13)\
**Post date:** [January 15, 2015, 9:48pm UTC](https://forums.unrealengine.com/t/normal-map-masking-based-on-blue-channel/304095/1 "2015-01-15T21:48:28Z")

</div>

So I have been going through Tor Frick’s tutorial from Eat3D and trying to adapt his approach on modular textures from UDK to UE4.For vertex painting rust, he uses a normal map’s blue channel to store a mask then use it to create a blend mask in his material. When I try this however, it looks like ue4 is scrapping the blue channel and not displaying that mask as long as the compression is set as a normal map. If I change it to color it shows up.

The whole purpose is to have vertex painting conform to the pattern in the mask to give a more realistic look to the painted rust.

Any ideas?

 ![Photoshop_SS.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/a/aa278a58c556ef61bca7eb7054e1f8b38aa75b57.jpeg)

 ![26792-ue4_ss.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/4/224609049cfb3ba1f15a583acc544e54c753a569.jpeg)

 ![26794-default_ss.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/c/9/2c9a054e808d4804fa6dcc073f519301fcb54e85.jpeg)

---

<div class="post-metadata">

**Author:** ![Stephane\_Roncada](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stephane\_Roncada](https://forums.unrealengine.com/u/Stephane_Roncada)\
**Post date:** [January 14, 2016, 4:35pm UTC](https://forums.unrealengine.com/t/normal-map-masking-based-on-blue-channel/304095/2 "2016-01-14T16:35:00Z")

</div>

I am also looking for the same thing, except I want to use my blue channel for the Spec map. If anyone could give us a hint on how to achieve this, it would be very helpful 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5603eca4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5603eca4](https://forums.unrealengine.com/u/anonymous_user_5603eca4)\
**Post date:** [March 16, 2017, 8:41pm UTC](https://forums.unrealengine.com/t/normal-map-masking-based-on-blue-channel/304095/3 "2017-03-16T20:41:36Z")

</div>

It’s been a while, but I’m wondering the same thing. I’ve looked at a couple of articles talking about derivative normal maps ( using only the RG channel from a texture to reconstruct a normal map ), but I can’t really seem to make it work using Default DXT1 compression settings. A lot of tutorials are talking about TC\_Normalmap compression settings though, but UE4 right now only seems to have DXT5. I’ve also seen people talking about having 2 normal maps in 1 texture ( one using RG channels and the other using BA channels ), but it seems impossible with the DXT5 compression settings.
