Materials-WorldAligned in UE4

When the texture needs to be sampled in the world space, the Absolute World Position node (output the coordinates of the Pixel in World Space) is generally used to split the X\Y\Z (R\G\B) axes of the Absolute World Position To form the UV of the YZ, XZ, and XY surfaces of the world space, use the world space normals that can distinguish different directions to distinguish different surfaces, and use linear interpolation to mix the UVs of these different surfaces;

In this process, UE4 is encapsulated into several material functions;

 

Guess you like

Origin blog.csdn.net/DoomGT/article/details/93376593