geo/PointBuilder code/TextureSample2D code/Param code/Sampler
Documentation / Node reference / code nodes
code/TextureSample2D
Reads a 2D texture at a uv.
Texture
Reads the colour of a 2D texture at a uv, blending texels the way its sampler says. Outputs red, green, blue and alpha.
Parameters
| Name | Type | What it does |
|---|---|---|
| uv | Vector2 | Where to read, 0 to 1 on each axis. |
| specifyMipMapLevel | Bool | Read a mipmap level you choose. |
| mipMapLevel | Float | Mipmap level to read. 0 is full size. |
| mipMapBias | Float | Below 0 sharper, above 0 softer. |
Examples
Scenes you can open in the editor that teach this node.
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.