# PreparePerturbNormalHQ Usage

**URL:** <https://forums.unrealengine.com/t/prepareperturbnormalhq-usage/21980>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [February 26, 2015, 7:01pm UTC](https://forums.unrealengine.com/t/prepareperturbnormalhq-usage/21980 "2015-02-26T19:01:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2cfe2ce5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2cfe2ce5](https://forums.unrealengine.com/u/anonymous_user_2cfe2ce5)\
**Post date:** [February 26, 2015, 7:01pm UTC](https://forums.unrealengine.com/t/prepareperturbnormalhq-usage/21980/1 "2015-02-26T19:01:36Z")

</div>

Greetings,

In lieu of having Derivative map support I’ve been trying to use the following documentation to get single-channel bump maps working:

> **[Bump Mapping Without Tangent Space](https://docs.unrealengine.com/5.2/en-US/bump-mapping-without-tangent-space-in-unreal-engine/)**
>
> How to achieve bump mapping from 3D procedural shaders where classic tangent space does not work.

(I have a use case that really needs to be able to pack at least 2 input maps providing bump data into a single sampler)

That said I really don’t understand the PreparePerturbNormalHQ function. Using the right/down/center texel cross as input to PerturbNormalHQ makes sense, but the example shows PreparePerturbNormalHQ taking Actor Position as a V3 input.

The docs describe the input as “The scalar bump value (grayscale) at the current position.”

What is intended to be used for this input? Does anyone have any use-cases they could share?

Thanks!

---

<div class="post-metadata">

**Author:** ![Gomo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gomo](https://forums.unrealengine.com/u/Gomo)\
**Post date:** [July 23, 2016, 12:25am UTC](https://forums.unrealengine.com/t/prepareperturbnormalhq-usage/21980/2 "2016-07-23T00:25:49Z")

</div>

In search of the same exact question I found this solution:

> **[Generate normal from noise imposible?](https://forums.unrealengine.com/questions/198047/generate-normal-from-noise-imposible.html)**
>
> Why is it so complicated to generate normal from noise generator ? I think it is the minimum to be able to do this in a material editor. Thank you if you have a solution.
