Image Texture Node
Catatan
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.](../../../_images/node-types_GeometryNodeImageTexture.webp)
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
- Image
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.
- Frame
If the Image supports animation, the frame can be set here. This can be keyframed so that the image changes between frames.
Properti
- 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.
- Closest
No interpolation, use only closest pixel for rendering pixel art.
- Extension
Extension defines how the image is extrapolated past the original bounds:
- Mengulangi
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.
Outputs
- Color
RGBA color from the image.
- Alpha
Alpha channel from image.
Contoh
![../../../_images/modeling_geometry-nodes_texture-nodes_image_texture_node_example.jpg](../../../_images/modeling_geometry-nodes_texture-nodes_image_texture_node_example.jpg)
Image Texture displacing a plane.