Shader: "wrapped brick bonds"

"wrapped brick bonds"

ClassDisplacement
Synopsis An extended wrapped brick pattern.
Arguments

"displacement amplitude" Type: LtFloat
Default:0.04
Range:[ 0.0, inf ]
Hint:-
"scale" Type: LtFloat
Default:1
Range:[ 1e-006, inf ]
Hint:[ 0.01, 1000 ]
"brick width" Type: LtFloat
Default:1.0
Range:[ 0.0, inf ]
Hint:-
"brick height" Type: LtFloat
Default:0.5
Range:[ 0.0, inf ]
Hint:-
"brick depth" Type: LtFloat
Default:0.7
Range:[ 0.0, inf ]
Hint:-
"mortar size" Type: LtFloat
Default:0.1
Range:[ 0.0, inf ]
Hint:-
"brick displacement" Type: LtFloat
Default:0.5
Range:[ -1, 1 ]
Hint:-
"rough scale" Type: LtFloat
Default:1.0
Range:[ 1e-005, inf ]
Hint:-
"rough amplitude" Type: LtFloat
Default:1.0
Range:[ 0.0, inf ]
Hint:-
"bond" Type: LtEnum
Default:LI_BOND_STRETCHER
Range: 1, 2, 3, 4, 5, 6
Hint:-
"fuzz" Type: LtFloat
Default:0.5
Range:[ 0.0, 1.0 ]
Hint:-
Locationlishlite
Description

A wrapped displacement source shader giving a possibility to choose one from several brick bonding patterns. Type of pattern is controlled by parameter bond. It can be one of the enumerated values:

  • LI_BOND_STRETCHER---standard alternating pattern,
  • LI_BOND_COMMON---bricks in every 5th row are stacked crosswise against the other,
  • LI_BOND_FLEMISH---bricks are placed crosswise alternately with normal in each row,
  • LI_BOND_ENGLISH---same as in case of LI_BOND_COMMON but bricks are placed crosswise in every 2nd row,
  • LI_BOND_STACK---bricks are stacked directly on top of each other,
  • LI_BOND_ROWLOCK---similar to LI_BOND_FLEMISH but bricks are placed on the other side, i.e., the larger side of the brick is visible.

Each brick has the same base height.

The height of the bricks in relation to the surface is given by "brick displacement". Values greater than 0.0 make the bricks displaced outside of the surface. Opposite, values less than 0.0 make the bricks displaced inside the surface. Parts of the surface which are not displaced form mortar.

The bricks are textured by applying to them a coherent variation in height around the base height. Arguments "brick width", "brick height" and "brick depth" specify the dimensions of the brick. The size of the mortar between the bricks (which is uniform between rows and columns of bricks) is specified by argument "mortar size".

There is a rough edge where the bricks meet the mortar, the characteristics of which can be controlled through arguments "rough scale" and "rough amplitude". The former determines the complexity of the roughness along each brick; values less than 1.0 produce a rougher appearance, and values greater than 1.0 produce a smoother appearance. The latter parameter determines the magnitude of the roughness, with values less than 1.0 corresponding to small variations, and values greater than 1.0 large variations. An overall scaling factor is provided as argument "scale"; increasing this value will make the bricks appear larger. Similarly, "displacement amplitude" controls the overall scale of displacement. The "fuzz" parameter controls the width of blur area on the mortar edges.

Previous page alphabetically (wrappedbrickbonds)
Next page alphabetically (wrappedbrickdisplacement)
Index


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