Bitmap Texture

MDL Identifier: core_definitions::file_texture

Description: Allows texturing using image files of various file formats

Display Name

Type

Parameter

Default

Description

Bitmap file

uniform texture_2d

texture

Scalar mode

uniform mono_mode

mono_source

mono_average

Defines how the texture applies to scalar parameters

Brightness

uniform float

brightness

1.0

Contrast

uniform float

contrast

1.0

Tiling

uniform float2

scaling

float2(1.0)

Controls the scale of the texture on the object

Offset

uniform float2

translation

float2(0.0)

Controls position of the texture on the object

Rotation

uniform float

rotation

0.0

Rotation angle of the texture in degrees

Clip

uniform bool

clip

false

If set to true, texture will not repeat. Outside of the texture, color will be black and the scalar value will be 0.

UV space index

uniform int

texture_space

0

Selects a specific UV space

Invert image

uniform bool

invert

false

Invert image