图像纹理着色器节点
Note
Unlike the other texture nodes, this node operates differently in geometry nodes compared to the equivalent shader node. When not connected the Vector input has an implicit position
attribute value.
Image Texture node.
The Image Texture node is used to add an image file as a texture. The image data is sampled with the input Vector and outputs a Color and Alpha value.
输入
图像
The image socket can be used to connect to the Group Input node. If this is not connected the image can be opened or selected from the node.
矢量
Texture coordinate for texture look-up. If this socket is left unconnected, the Position attribute is used.
帧/框
If the Image supports animation, the frame can be set here. This can be keyframed so that the image changes between frames.
属性
插值
Method to scale images up or down for sampling.
线性
普通插值。
三次型
更顺畅,更优的插值。
最近
无插值,仅使用最近的像素。
扩展(名)
延伸方式定义了纹理图像在原始图像边界如何进行外插:
重复
在水平和垂直方向重复图像,获得平铺效果。
添选
通过重复边缘上的像素来扩展图像。
剪辑
剪切到原始图像大小并将所有外部像素设置为透明的黑色。
输出
颜色
RGBA color from the image.
Alpha
图像的Alpha通道。
示例
Image Texture displacing a plane.