Skip to main content

Image Shader

Intro

A Shader for images, image sequences and video.

UI

Common Attributes +

File - Connect an image asset. This can be directly from the Assets Window or via an Asset Array or Asset from Smart Folder. Still images, image sequences and video are supported.

Filter - These settings can improve image quality in both the Viewport and for renders – particularly when resizing images.

  • None (Fastest) - No resampling will be performed when the images are resized – this is the lowest quality setting.
  • Bilinear - Basic resampling is performed. This is low quality but it's very fast.
  • Mipmaps - Mipmaps are pre-calculated, optimised, low resolution versions of the image created via Bilinear interpolation. These are used to get the best quality and performance when scaling images down.
  • Bicubic - This is the slowest method but it produces the best quality when scaling images up.

Scale Mode - Set how the image fits to a Shape:

  • None - Do not scale.
  • Fit - Fit the image to the Shape based on the longest edge whilst retaining the aspect ratio of the image.
  • Fit Horizontally - Fit the image to the Shape's horizontal edge whilst retaining the aspect ratio of the image.
  • Fit Vertically - Fit the image to the Shape's vertical edge whilst retaining the aspect ratio of the image.

Tiling - Determine what happens at the borders of the image.

  • Clamp - Use the first and last values of the image.
  • Repeat - Repeat/ loop the image.
  • Mirror - Mirror/ ping pong the image.
  • Decal - Cut out the image.

Scale - Increase/ decrease the scale of the image.

Offset - Offset the position of the image.

Looping - When checked an Image Sequence, video or gif will be set to infinitely loop.

FPS - Set the frame rate an Image Sequence will play back at. By default this control is connected to the Composition's frame rate but this can be manually set by removing the connection.

Time - A connection to the Composition's Time which is used to drive the frame number of a video or image sequence.