# Rotate world/locally aligned texture

**URL:** <https://forums.unrealengine.com/t/rotate-world-locally-aligned-texture/2369968>\
**Category:** Asset Creation\
**Tags:** unreal-engine\
**Created:** [March 2, 2025, 7:09pm UTC](https://forums.unrealengine.com/t/rotate-world-locally-aligned-texture/2369968 "2025-03-02T19:09:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kligan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kligan/32/248910_2.png) [@Kligan](https://forums.unrealengine.com/u/Kligan)\
**Post date:** [March 2, 2025, 7:09pm UTC](https://forums.unrealengine.com/t/rotate-world-locally-aligned-texture/2369968/1 "2025-03-02T19:09:49Z")

</div>

Hello!  
I’ve made a material that can be switched between world aligned or locally aligned (pre-skinned) textures. Works great as is.  
Then I decided to add some more flexibility to it. I’ve added some parameters to control the offset:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/1/9/e193c5def8126355612646c53824894b4374885a.png)

And then I got stuck with how to rotate the texture.

After some research, I found this forum thread:

> [@How to rotate a "world aligned texture"](https://forums.unrealengine.com/t/how-to-rotate-a-world-aligned-texture/32532):
>
> If you have opened this post, welcome I thank you for your time and attention. Im posting an intriguing question for me. I know how to rotate a texture by 90 degrees with the custom rotator. (images in annex) But i have no idea how to rotate by 90 degrees a texture with the “world aligned texture”. Is there any valid way i can associate the custom rotator with the world aligned texture??? I have tried some combinations, but nothing worked so far. In case you are wondering why i want to kn…

As well as several youtube video tutorials with the exact same solution.

HOWEVER. When I applied this to my material, I noticed that normal maps render incorrectly after rotating.  
I.e. if shadows on the surface fall from top to bottom originally, and I rotate the texture 180 degrees, the shadow now goes from bottom to top. It rotates with the texture itself.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/8/d/98d4690d19ad28838910583043ce7bbec31a287d.jpeg "Unreal Engine replay 2025 03 02 21 09") ](https://www.youtube.com/watch?v=HI6YY0dPCRA)

And no one addresses or even notices this issue it in all those videos. Just one commenter under one of them who noticed this exact same behavior, but was left without reply.

I can’t figure out how to do this properly.  
If anyone savvy with materials could help me out, I’d be very grateful!
