当前位置:网站首页>UE4 material UV texture does not stretch with model scale
UE4 material UV texture does not stretch with model scale
2022-06-29 09:30:00 【Deveuper】
Official document tutorial : link
WorldAlignedTexture
WorldAlignedTexture( Globally consistent texture ) The tiling texture() function is used to tile a texture on an object surface in global space , This tiling is independent of the size or rotation of the object .
This function allows you to specify the direction in which the texture is projected , And by global units ( Not the percentage of texture size ) Make a proportional adjustment .
Because this function tiles the texture in global space , So we need to pay attention , Any animated object that handles textures in this way will have textures " floating ", That is, the texture remains in its original position , The object slides under it .
project | explain | |
|---|---|---|
Input
| ||
Texture objects ( Texture objects )(TextureObject (Texture Object)) | Receive the texture to be tiled in global space . | |
Texture size ( vector 3)(TextureSize (Vector3)) | Texture size , With X、Y and Z Global units on the axis . | |
Global position ( vector 3)(WorldPosition (Vector3)) | Provide 3D The start point offset of the texture in global space . | |
Export floating point 4( Static Boolean )(ExportFloat 4 (StaticBool)) | Whether to use the alpha channel of the incoming texture . The default value is false. | |
Global space normals ( vector 3)(World Space Normal (Vector3)) | Allows you to specify the normal direction of the up axis of global space , So as to rotate the coordinates used by this function . The default value is 0,0,1, namely , Up Z. | |
Projected transition contrast ( vector 3)(ProjectionTansitionContrast (Vector3)) | stay X、Y and Z When projected in the direction , This value controls the blended contrast produced when two projection planes intersect . | |
Output
| ||
XY texture (XY Texture) | In the global X and Y The result of projecting the texture in the direction . | |
Z texture (Z Texture) | In the global Z The result of projecting the texture in the direction . | |
XYZ texture (XYZ Texture) | In the global X、Y and Z The result of projecting the texture in the direction . | |

Please note that , Although the ground has rotated , But the texture is still consistent with the global coordinates .
边栏推荐
猜你喜欢

Yotact real-time instance segmentation

如何将谷歌浏览器设置为默认浏览器

Gd32f4xx Ethernet Chip (ENC28J60) Drive transplantation

SSD改進CFENet

NPM common commands

Handwritten virtualdom

Redo after JS rotation view (longer full version, can be run)

pytorch总结学习系列-操作

train_on_batch保存一下loss函数变化的图像

Open3d farthest point sampling (FPS)
随机推荐
Augfpn: improved multiscale feature learning for target detection
【数据集】|标注的bbox影响 Can we trust bounding box annotations for object detection
Yolo nano: a highly compact one look convolutional neural network for target detection
深入RC、RS、DaemonSet、StatefulSet(七)
微信小程序跳转公众号图文内容
ISO16000-9建筑产品和家具中挥发性有机物的测试
SSD improvements cfenet
UE4 VS的Visual Assist插件设置
Wechat applet project: tab navigation bar
In the era of data processing, data quality construction is the way for enterprises to survive
微信小程序项目:微信小程序页面布局
Reading notes on how to connect the network - Web server request and response (V)
MATLAB小技巧(21)矩阵分析--偏最小二乘回归
Which securities company is good for opening a mobile account? Is it safe to open an account online?
Yotact real-time instance segmentation
Simple use of promise method
pytorch总结学习系列-广播机制
Write down some written test questions
# 《网络是怎么样连接的》读书笔记 - WEB服务端请求和响应(四)
Universal target detection based on region attention