Image Texture Node
Nota
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.
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.
Inputs
- Imagem
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.
- Vector
Texture coordinate for texture look-up. If this socket is left unconnected, the Position attribute is used.
- Quadro
If the Image supports animation, the frame can be set here. This can be keyframed so that the image changes between frames.
Propriedades
- Interpolation
Method to scale images up or down for sampling.
- Linear:
Regular quality interpolation.
- Cubic:
Smoother, better quality interpolation. For bump maps this should be used to get best results.
- Mais próximo:
No interpolation, use only closest pixel for rendering pixel art.
- Extension
Extension defines how the image is extrapolated past the original bounds:
- Repetir:
Will repeat the image horizontally and vertically giving tiled-looking result.
- Extend:
Will extend the image by repeating pixels on its edges.
- Clip:
Clip to the original image size and set all the exterior pixels values to transparent black.
- Espelhar:
Repeatedly flip the image horizontally and vertically.
Saídas
- Color
RGBA color from the image.
- Alfa
Alpha channel from image.