# Normal map decal does not correctly align to world normals?

**URL:** <https://forums.unrealengine.com/t/normal-map-decal-does-not-correctly-align-to-world-normals/1205974>\
**Category:** Rendering\
**Tags:** normal-maps, normals, unreal-engine, Decals, question\
**Created:** [June 21, 2023, 4:58am UTC](https://forums.unrealengine.com/t/normal-map-decal-does-not-correctly-align-to-world-normals/1205974 "2023-06-21T04:58:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wheatttttt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wheatttttt](https://forums.unrealengine.com/u/Wheatttttt)\
**Post date:** [June 21, 2023, 4:58am UTC](https://forums.unrealengine.com/t/normal-map-decal-does-not-correctly-align-to-world-normals/1205974/1 "2023-06-21T04:58:02Z")

</div>

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/1/9f1c66011094d60a225042a78e7046505038dfad.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/1/9f1c66011094d60a225042a78e7046505038dfad.mp4)
  
As seen here in the World Normal buffer visualization (and later in a normal shaded view), this decal containing a normal map does not fit to the geometry it is cast to, and instead overwrites the world normal with that of the direction the decal is facing.

Below is the (very simple but apparently incorrect) material setup being used. NOTE: for the purposes of displaying it more obviously, the alpha map was disabled for the above video, though the issue still persists with it on for obvious reasons.

 ![test](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/c/11c5bdd3ccdb86f94e35d7c4a15aa69aa616f5d4.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 21, 2023, 6:56am UTC](https://forums.unrealengine.com/t/normal-map-decal-does-not-correctly-align-to-world-normals/1205974/2 "2023-06-21T06:56:26Z")

</div>

This is what decals do. It’s up to you to orient and scale it correctly.

I know it doesn’t seem like it, but in other situations, that’s an advantage 🙂

---

<div class="post-metadata">

**Author:** ![Wheatttttt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wheatttttt](https://forums.unrealengine.com/u/Wheatttttt)\
**Post date:** [June 21, 2023, 7:02am UTC](https://forums.unrealengine.com/t/normal-map-decal-does-not-correctly-align-to-world-normals/1205974/3 "2023-06-21T07:02:40Z")

</div>

Sure, but here you can see it just can’t work for a curved surface like the one I’m putting it on. Unless I’m mistaken, there’s no “correct” orientation for the decal on a curved surface, since, well… the decal isn’t curved. Is there genuinely no way to do this?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 21, 2023, 7:05am UTC](https://forums.unrealengine.com/t/normal-map-decal-does-not-correctly-align-to-world-normals/1205974/4 "2023-06-21T07:05:23Z")

</div>

Ah, sorry, wasn’t clear what aspect of ‘not fitting’ you were indicating.

No, decals don’t wrap.

---

<div class="post-metadata">

**Author:** ![Wheatttttt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wheatttttt](https://forums.unrealengine.com/u/Wheatttttt)\
**Post date:** [June 21, 2023, 7:10am UTC](https://forums.unrealengine.com/t/normal-map-decal-does-not-correctly-align-to-world-normals/1205974/5 "2023-06-21T07:10:51Z")

</div>

It’s less about wrapping the decal itself, and more about, is there no way to have the normal map from the decal, instead of overwriting the surface normals of whatever it covers, apply relative to the surface instead?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 21, 2023, 7:18am UTC](https://forums.unrealengine.com/t/normal-map-decal-does-not-correctly-align-to-world-normals/1205974/6 "2023-06-21T07:18:06Z")

</div>

If you want to do that sort of thing, then you could, but in the material.

You can have more than one normal map, different UVs for the second map ( so you can reposition ), and you can combine them with BlendAngleCorrectedNormals.

---

<div class="post-metadata">

**Author:** ![Udongein0710](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Udongein0710](https://forums.unrealengine.com/u/Udongein0710)\
**Post date:** [June 21, 2023, 3:30pm UTC](https://forums.unrealengine.com/t/normal-map-decal-does-not-correctly-align-to-world-normals/1205974/7 "2023-06-21T15:30:57Z")

</div>

you’d better to preview the texture in plane mode.  
你最好在材质中使用平面去预览你的材质以保证正确的方向.  
if the preview is right, check the UV map which the thing you use the texture ,different uv map will cause different end about it.  
如果你在预览中查看的是正确的，检查你挂载了该材质的物体的UV图，不同的UV图的大小、朝向都会使贴图覆盖上去的时候出现不同的状况。
