Skip to main content

Cubemap Sample

Menu: Sampling

Purpose​

Samples a cubemap with a direction vector and exposes the resulting color and channels.

Inputs​

NameTypeDefaultDetails
CubemapCUBEMAP-Fragment stage.
DirectionFLOAT2-Fragment stage.

Outputs​

NameTypeDefaultDetails
ColorFLOAT4--
RNUMBER--
GNUMBER--
BNUMBER--
ANUMBER--