Triplanar File Texture#

MDL Identifier: core_definitions::triplanar_file_texture

Description: Node used to apply textures to 3D objects with complex geometry, minimizing distortions by projecting textures from three different directions. Allows texturing using image files of various file formats.

Display Name

Type

Parameter

Default

Description

1st Bitmap parameters

The texture projection along the X axis

Bitmap file

uniform texture_2d

texture

Scalar mode

uniform mono_mode

mono_source

mono_average

Defines how the texture applies to scalar parameters

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

2nd Bitmap parameters

The texture projection along the Y axis

Bitmap file

uniform texture_2d

texture

Scalar mode

uniform mono_mode

mono_source

mono_average

Defines how the texture applies to scalar parameters

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

3rd Bitmap parameters

The texture projection along the Z axis

Bitmap file

uniform texture_2d

texture

Scalar mode

uniform mono_mode

mono_source

mono_average

Defines how the texture applies to scalar parameters

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

Use Object space

bool

object_space

true

If off, world space will be used for generating texture coordinates. If on, object space will apply

Rotation of origin

float3

rotate_origin

float3(0.0)

If off, world space will be used for generating texture coordinates. If on, object space will appl

Blend range

float

blend_range

0.5

Defines the size of the transition area. 0 means hard transition, 1 means blending happens very softly

Mean Color

color

mean

color(0.0,0.0,0.0)

Allows tweaking of the blend function. A value of 0 disables the function

Material Triplanar File Texture