当前位置:网站首页>UE4 材质UV纹理不随模型缩放拉伸
UE4 材质UV纹理不随模型缩放拉伸
2022-06-29 08:32:00 【Deveuper】
官方文档教程:链接
WorldAlignedTexture
WorldAlignedTexture(全局一致纹理)函数用于在全局空间中的对象表面上平铺纹理,此平铺与该对象的大小或旋转无关。
此函数允许您指定投射纹理的方向,并按全局单位(而非纹理大小的百分比)进行比例调整。
因为此函数在全局空间内平铺纹理,所以需要注意,任何以此方式处理纹理的动画对象都会发生纹理"漂浮",即纹理保持原位置不动,而对象在其下方滑动。
项目 | 说明 | |
|---|---|---|
输入
| ||
纹理对象(纹理对象)(TextureObject (Texture Object)) | 接收要在全局空间中平铺的纹理。 | |
纹理大小(矢量 3)(TextureSize (Vector3)) | 纹理大小,以 X、Y 和 Z 轴上的全局单位计。 | |
全局位置(矢量 3)(WorldPosition (Vector3)) | 提供 3D 全局空间中纹理的开始点偏移。 | |
导出浮点 4(静态布尔值)(ExportFloat 4 (StaticBool)) | 是否利用传入纹理的阿尔法通道。默认值为 false。 | |
全局空间法线(矢量 3)(World Space Normal (Vector3)) | 允许您指定全局空间的上方向轴的法线方向,从而旋转此函数所使用的坐标。默认值为 0,0,1,即,上方向 Z。 | |
投射过渡对比度(矢量 3)(ProjectionTansitionContrast (Vector3)) | 在 X、Y 和 Z 方向上投射时,此值控制两个投射平面相交时产生的混合对比度。 | |
输出
| ||
XY 纹理(XY Texture) | 在全局 X 和 Y 方向上投射纹理的结果。 | |
Z 纹理(Z Texture) | 在全局 Z 方向上投射纹理的结果。 | |
XYZ 纹理(XYZ Texture) | 在全局 X、Y 和 Z 方向上投射纹理的结果。 | |

请注意,尽管地面已旋转,但纹理仍与全局坐标一致。
边栏推荐
猜你喜欢

SSD改進CFENet

Wechat applet sub components transfer values to the page (communication between parent and child components) with source code

Keras to tf Vgg19 input in keras_ shape

NPM common commands

Lffd: a lightweight fast face detector for edge detection

How is epoll encapsulated in golang?

微信小程序自定义多项选择器

UE4 在4.20-23版本安装Datasmith插件

Augfpn: amélioration de l'apprentissage des caractéristiques à plusieurs échelles pour la détection des cibles

UE4 在viewport视口中显示3D可编辑点
随机推荐
修改exif信息
Summary of IO streams
Debug H5 page -vconsole
Let's make a summary
Wechat applet sub components transfer values to the page (communication between parent and child components) with source code
Open3d farthest point sampling (FPS)
mysql insert 时出现Deadlock死锁场景分析
Verilog equivalent operator
Detecting and counting tiny faces
微信小程序自定义多项选择器
Activemq消息组件发布订阅ReDelivery消息重新投递
[target detection] | indicator a probabilistic challenge for object detection
Wechat applet user refuses to authorize geographic location information and calls up the authorization window again
(转)MySQL: ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
Twinmotion 初学者教程
What is hyperfusion? What is the difference with traditional architecture
MySQL row column conversion example
Solutions to ineffective uniapp import components
MYSQL虚拟列
在 golang 中是如何对 epoll 进行封装的?