Contents

uvScale

A scale to apply to lightmap UV attribute before sampling from the slice of the atlas. Note that lightmap textures use the Metal convention: UV (0,0) corresponds to the top-left corner of the image, while UV (1,1) corresponds to the bottom-right.

Declaration

var uvScale: SIMD2<Float>

See Also

Mapping texture coordinates