# WorldAlignedTextureをローカル座標で描画したい

**URL:** <https://forums.unrealengine.com/t/worldalignedtexture/1253220>\
**Category:** 日本語 (Japanese)\
**Tags:** tiling, unreal-engine, question\
**Created:** [August 7, 2023, 6:43am UTC](https://forums.unrealengine.com/t/worldalignedtexture/1253220 "2023-08-07T06:43:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![turbotanaka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@turbotanaka](https://forums.unrealengine.com/u/turbotanaka)\
**Post date:** [August 7, 2023, 6:43am UTC](https://forums.unrealengine.com/t/worldalignedtexture/1253220/1 "2023-08-07T06:43:41Z")

</div>

WorldAlignedTextureでタイリングするマテリアルを作成しているのですが、オブジェクトを回転させるとワールド空間にテクスチャが取り残されてしまいます。これをどうにかオブジェクトの回転に追従するようにしたいです。  
WorldAlignedTextureのWorldPositionにLocalPositionをトランスフォームさせて入力することで位置を追従させることはできたので、回転にも追従させる方法があると思うのですが、可能でしょうか？

---

<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:** [August 7, 2023, 9:33am UTC](https://forums.unrealengine.com/t/worldalignedtexture/1253220/2 "2023-08-07T09:33:34Z")

</div>

これがうまくできれば、最終的には通常のマテリアルが完成するでしょう。では、なぜ普通の素材を使えばいいのでしょうか？

---

<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:** [September 6, 2023, 9:34am UTC](https://forums.unrealengine.com/t/worldalignedtexture/1253220/3 "2023-09-06T09:34:25Z")

</div>

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