Shader: "marble"

"marble"

ClassDisplacement
Synopsis A marble pattern.
Arguments

"displacement amplitude" Type: LtFloat
Default:0.01
Range:[ 0.0, inf ]
Hint:-
"scale" Type: LtFloat
Default:1.0
Range:[ 1e-006, inf ]
Hint:[ 0.01, 1000 ]
"detail" Type: LtInt32
Default:4
Range:[ 0, 16 ]
Hint:[ 2, 8 ]
"vein displacement" Type: LtFloat
Default:0.5
Range:[ -1.0, 1.0 ]
Hint:-
"vein contrast" Type: LtFloat
Default:1.0
Range:[ 0.0, 1.0 ]
Hint:[ 0.25, 1.0 ]
"grain" Type: LtFloat
Default:1.0
Range:[ 0.0, 3.0 ]
Hint:[ 0.0, 0.7 ]
"grain scale" Type: LtFloat
Default:1.0
Range:[ 0.0, 5.0 ]
Hint:[ 0.2, 1.0 ]
Locationlishlite
Description

A solid texture giving a veined marble appearance.

The height of the veins in relation to the surface is given by "vein displacement". Values greater than 0.0 make the veins displaced outside of the surface. Opposite, values less than 0.0 make the veins displaced inside the surface.

The contrast of the height bands within the veins may be varied by the "vein contrast" parameter, for which larger values produce a greater contrast of heights.

Three parameters control the characteristics of the turbulent marble pattern: The level of detail in the bands of the marble is set through the "detail" parameter. Increasing this value has the effect of increasing the complexity of, and detail in, the pattern. The marble has a crystalline structure, and the amplitude of the marble crystal grain is set with "grain"; larger values accentuate the granularity. The size of the crystal grain is set through the "grain scale" parameter, with larger values giving rise to larger crystals.

An overall scaling factor is provided by "scale". Increasing this value will make the marble pattern appear larger. Similarly, "displacement amplitude" controls the overall scale of displacement.

Previous page alphabetically (marble)
Next page alphabetically (matrix)
Index


Copyright © 1990-2005, 2006 LightWork Design Limited. All rights reserved