back to overview

back to reference

back to elements index


texture-element

icon

namespace:

version:

branch type:

activable type:

sender type:

receiver type:

root type:

core3d

1.0.0.

true

true

false

true

false

The Texture-Element contains a Texture-Unit. Several Texture-Elements can define a 'Multitexturing'. It must be a child of a appearance-element.


default configuration:

value:

type:

array:

required:

color:combine-mode

string

no

no

Default value:'replace'

color:combine-source

string

yes

no

Default value:'base-color'

color:combine-scale

float

no

no

Default value:'1.0'

color:combine-operand

string

yes

no

Default value:'color'

texture:texture-file

uri

yes

no

Default value:'@system/textures/4colors8T.bmp'

texture:scale-to-power-of-2

bool

yes

no

Default value:'true'

texture:opacity-map

bool

no

no

Default value:'false'

texture:boundary-mode-t

string

no

no

Default value:'clamp-to-edge'

texture:bump-map

bool

yes

no

Default value:'false'

texture:boundary-mode-s

string

no

no

Default value:'clamp-to-edge'

texture:min-filter

string

no

no

Default value:'fastest'

texture:texture-mode

string

no

no

Default value:'replace'

texture:blend-color

float

yes

no

Default value:'0.5, 0.5, 0.5, 1.0'

texture:mag-filter

string

no

no

Default value:'fastest'

alpha:combine-mode

string

no

no

Default value:'replace'

alpha:combine-source

string

yes

no

Default value:'base-color'

alpha:combine-scale

float

no

no

Default value:'1.0'

alpha:combine-operand

string

yes

no

Default value:'alpha'

Commands:

texture-files-command

Events: