# Normals Appear 45 Degrees off

**URL:** <https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296>\
**Category:** Asset Creation\
**Tags:** normal-map, normals, unreal-engine, Rendering, Lighting, question\
**Created:** [April 3, 2024, 12:05pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296 "2024-04-03T12:05:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Donny000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Post date:** [April 3, 2024, 12:05pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/1 "2024-04-03T12:05:55Z")

</div>

Hey everyone, I’m having an issue that I’m fairly certain is an issue with UVs but I haven’t been able to come up with or find a a solution for it.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/2/382cda967712da97999264a4d4bcd1d59849b8ad.jpeg)

So the lighting within this tunnel asset is behaving strangely, on the right side of the point light, it seems to be okay, on the right though, there’s the heavy shadow and also it seems to be at 45 degrees for some reason. No matter how I transform my UVs the lighting is always off by 45 degrees, and I can’t get even lighting across the texture.

For reference, this is part of an attempt with trim sheets (one shell pictured):

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/6/946529e70e36a3e1238c19b156d1179def99a564.jpeg)

If anyone can help or has any ideas, that would be great. Thanks in advance!

---

<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:** [April 3, 2024, 12:13pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/2 "2024-04-03T12:13:01Z")

</div>

It will probably be the normals on the model, not the UVs 🙂

---

<div class="post-metadata">

**Author:** ![Donny000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Post date:** [April 3, 2024, 12:16pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/3 "2024-04-03T12:16:11Z")

</div>

Thanks for replying!

The thing is, the UVs seem okay (from my understanding) if I use the check pattern in Maya:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/6/ba6c81e70af484c51f6f312580f72522980fd8f2.jpeg)

---

<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:** [April 3, 2024, 12:56pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/4 "2024-04-03T12:56:31Z")

</div>

That’s right, it’s the mesh normals 🙂

I don’t use Maya, but there is a way to tell the mesh which way each face is oriented.

---

<div class="post-metadata">

**Author:** ![Donny000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Post date:** [April 3, 2024, 1:00pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/5 "2024-04-03T13:00:46Z")

</div>

Thanks, but again, my normals seem okay. Unless of course, I’ve misunderstanding you.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/f/9bf96d8734c2ad5b8cadfc8e643ddea4c8893d02.jpeg)

---

<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:** [April 3, 2024, 1:33pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/6 "2024-04-03T13:33:20Z")

</div>

Ok, I don’t suppose the material has a world aligned texture in it? ( you would probably know )

You might also try inverting the green channel on the normal texture in the engine ( assuming you made it in Maya )

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/d/a9d549d72817ccbbe44f1e830072b8a4d439faef.png)

---

<div class="post-metadata">

**Author:** ![Donny000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Post date:** [April 3, 2024, 1:55pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/7 "2024-04-03T13:55:22Z")

</div>

As far as I know, nothing should be world aligned in this texture (open in new tab for full res):

 ![M_Master_Vertex_MaterialGraph_0_00000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/b/57b8cacea0a1b8cb0a73f6294389ed8f4fc3b96f.png)

And unfortunately, flipping the green channel just span the issue 180 degrees.

---

<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:** [April 3, 2024, 2:01pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/8 "2024-04-03T14:01:19Z")

</div>

You’re normals are coming from a world position node ( ie world aligned )

Do you really need that, can you just turn if off?

This will be why you have the problem.

I don’t know if you coded that material yourself, or got it from the market, but very often in world aligned applications, the normals are calculated incorrectly.

---

<div class="post-metadata">

**Author:** ![Donny000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Post date:** [April 3, 2024, 2:08pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/9 "2024-04-03T14:08:51Z")

</div>

Okay, good to know. I created this shader myself for vertex painting during my university project so understandable that I messed up somewhere 😅

Which node is is it that you think may be causing the issue? The only world aligned part I can see is the “rain” effect which is a for panning a 3D noise texture.

---

<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:** [April 3, 2024, 2:11pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/10 "2024-04-03T14:11:18Z")

</div>

I don’t think in fact, the shader _has_ normals ( it’s a bit hard to check ), they seem to be vertex painted.

Just take the normals from an actual normal map, that’s all.

Or set that IF node so that you only get ‘from normals’

---

<div class="post-metadata">

**Author:** ![Donny000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Post date:** [April 3, 2024, 2:14pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/11 "2024-04-03T14:14:54Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/2/2726c6bd4e87a08c14cf31bfd154d0295eb7cccd.png)

I tried plugging the base normal texture straight in and it had no effect unfortunately.

(And just in case the settings have any glaring issues)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/f/2af595de4f600d87355674be5626164a0b5bc6e3.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:** [April 3, 2024, 2:18pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/12 "2024-04-03T14:18:16Z")

</div>

Right, but are the UVs correct for just plugging it in?

What happens when you just plug the brick texture into the albedo slot?

---

<div class="post-metadata">

**Author:** ![Donny000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Post date:** [April 3, 2024, 2:21pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/13 "2024-04-03T14:21:45Z")

</div>

This is it with the albedo and normal plugged straight into the final node:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/a/61ae395c2d353c6a547255f442f35c5bc91ef496.jpeg)

---

<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:** [April 3, 2024, 2:22pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/14 "2024-04-03T14:22:29Z")

</div>

It looks ok from here, no?

---

<div class="post-metadata">

**Author:** ![Donny000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Post date:** [April 3, 2024, 2:24pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/15 "2024-04-03T14:24:04Z")

</div>

Everything apart from the right of the point light looks okay, surely there shouldn’t be such a deep shadow there if the light is emitting in all directions?

---

<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:** [April 3, 2024, 2:24pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/16 "2024-04-03T14:24:56Z")

</div>

The normals look ok to me. If you compare it to the first pic you posted.

---

<div class="post-metadata">

**Author:** ![Donny000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Post date:** [April 3, 2024, 2:33pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/17 "2024-04-03T14:33:08Z")

</div>

It does look a lot better, I’ll admit 😁 So the problem is something in the way that I’m combining the normals for vertex painting then? As far as you can tell, have I used the wrong kind of node or something for normals?

---

<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:** [April 3, 2024, 2:41pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/18 "2024-04-03T14:41:58Z")

</div>

You were combining normals with height maps and other things, it seemed there 🙂

Perhaps it’s not possible to get the default normal out of the shader, I wasn’t very easy to check.

---

<div class="post-metadata">

**Author:** ![Donny000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Post date:** [April 10, 2024, 3:44pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/19 "2024-04-10T15:44:33Z")

</div>

So I put some more work into getting to the bottom of this and you absolutely put me on the right path with the normal maps.

Turns out that at some point, Unreal had imported some of my normal maps not as normals. So after going through and ensuring the were all set correctly as normals, with the right compressions, and SRGB off, everything works just fine!

(Why is it always one little option that wrecks things? 🙄)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [May 10, 2024, 3:45pm UTC](https://forums.unrealengine.com/t/normals-appear-45-degrees-off/1785296/20 "2024-05-10T15:45:21Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
