Introducing v3 — a new editor, faster engine, and more.

See what's new

ImageTexture

Display an image with customizable object-fit modes

Props

urlstring
Default:https://shaders.com/sample.jpg
Upload an image or provide a URL
objectFit"cover" | "contain" | "fill" | "scale-down"
Default:fill
How the image should be sized within the viewport

Usage

<Shader>
  <ImageTexture />
</Shader>