当前位置:网站首页>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 方向上投射纹理的结果。 | |

请注意,尽管地面已旋转,但纹理仍与全局坐标一致。
边栏推荐
- 微信小程序项目:tab导航栏
- MySQL uses union all to count the total number of combinations of multiple tables and the number of tables respectively
- 深卷积神经网络时代的目标检测研究进展
- SSD改進CFENet
- Verilog splicing operation symbol
- 图片格式-webp
- Pat (basic level) practice (Chinese) 1003 I want to pass! (20 points) C language implementation
- 微信小程序用户拒绝授权地理位置信息再次调起授权窗口
- SSD improvements cfenet
- Verilog data type
猜你喜欢
随机推荐
手写 redux-thunk
pytorch总结学习系列-广播机制
MySQL uses union all to count the total number of combinations of multiple tables and the number of tables respectively
【To .NET】C#数据模型,从Entity Framework Core到LINQ
微信小程序用户拒绝授权地理位置信息再次调起授权窗口
Verilog size and +: Using
使用GPU训练kernel切换
Universal target detection based on region attention
Highlight in the middle of the navigation bar at the bottom of wechat applet
AugFPN:改进多尺度特征学习用于目标检测
查找字符串中重复次数最多的元素
Let's make a summary
mysql insert 时出现Deadlock死锁场景分析
微信小程序底部导航栏中间突出
SSD改进CFENet
Verilog reduction operator
Ue4 installe le plug - in datasmith dans la version 4.20-23
记一些笔试题
What is the difference between hyperconverged architecture and traditional architecture?
JS to obtain basic information about the width and height of an image or Base64


![[to.Net] C data model, from Entity Framework core to LINQ](/img/98/6a8b295d1465697945e01b8c48ec52.png)





