Normal Map Texture

MDL Identifier: core_definitions::normalmap_texture

Description: Allows the use of tangent space normal maps.

Display Name

Type

Parameter

Default

Description

Normalmap File

uniform texture_2d

texture

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.

Strength

uniform float

factor

1.0

UV Space Index

uniform int

texture_space

0

Selects a specific UV space

Flip V

uniform bool

flip

false

Flips the tangent space.