Home Unreal Engine

Rotating a Vector Displacement Map

polycounter lvl 10
Offline / Send Message
paradoxical-pixel polycounter lvl 10
I have a vector displacement map and want to rotate it dynamically (in UV-space). Below, is an image to outline the current set-up.

0J8Cw4u.jpg

The world-space coordinates are rotated by an arbitrary radian value using trigonometry; the output of this is then converted into tiled UV coordinates using modular arithmetic, and panned; these new coordinates then drive an ambient occlusion and vector displacement map.

The problem arises at the vector displacement end of the chain. The radian value needs to transform the vector displacement map, but I can't quite figure out how.

Thanks in advance, guys! :)

Replies

Sign In or Register to comment.