Shader: "wrapped birch floor"

"wrapped birch floor"

ClassDisplacement
Synopsis A version of the general "wrapped wood floor" displacement shader with pre-defined values appropriate to a birch-like appearance.
Arguments

"displacement amplitude" Description: The overall amount of displacement.
Default:0.01
Hint:-
"replication type" Description: Style of flooring pattern (planks, squares, herringbone, etc.). Each scheme consists of a rectangle replicated in the appropriate way. The rectangle consists of a number of 'planks' arranged side by side in strips.
Default:LI_REPLICATION_FLOORBOARDS
Hint:-
"pattern scale" Description: Scaling factor relating to the wood pattern only (determines the radius difference of two adjacent rings).
Default:0.005
Hint:[ 0.001, 1.0 ]
"scale" Description: Overall scale of the pattern (controls all aspects of the wood floor evenly, including the pattern of planks or tiles as well as the wood they are made from).
Default:1.0
Hint:[ 0.01, 1000.0 ]
"wood height" Description: The height of the wood.
Default:0.25
Hint:-
"ring height" Description: The height of the rings.
Default:0.5
Hint:-
"plank length" Description: The length of each plank or strip.
Default:0.6
Hint:[ 0.3, 1.0 ]
"plank width" Description: The width of each plank or strip. Note that for the 'squares' replication scheme, this argument is ignored; instead, the width is taken to be the "plank length" divided by the value of the "strips" argument, to ensure that we end up with a square-shaped collection of planks.
Default:0.3
Hint:[ 0.0001, 1.0 ]
"strips" Description: The number of strips or planks in each rectangular area.
Default:1
Hint:[ 1, 4 ]
"offset" Description: This argument is only relevant for the 'floorboards' and 'ladder' patterns. For 'floorboards', it determines the relative displacement of the basic rectangles in odd and even rows of the scheme. For 'ladder', it determines the relative displacement between the even and odd columns of vertical planks. The argument is ignored in the other replication patterns.
Default:0.2
Hint:[ 0.0, 0.5 ]
"groove width" Description: The width of the grooves between the planks. 0.0 means no groove. If the groove width is too large compared to the plank width (i.e., more groove than plank) then the shader will correct it. For the 'squares' replication scheme, this correction will work with the plank width calculated from "plank length" and "strips".
Default:0.004
Hint:[ 0.0, 0.02 ]
"ring fuzz in" Description: Specifies the sharpness of the edges of the inside of the rings in the wood (the value actually represents the fraction of the ring width over which the interpolation from one colour to the other is done). The default value was chosen to represent common growing cycles in temperate climates (a reasonably quick start of new growth in the spring followed by a slower decline in growth during the late summer).
Default:0.3
Hint:[ 0.1, 1.0 ]
"ring fuzz out" Description: Specifies the sharpness of the edges of the outside of the rings in the wood (the value actually represents the fraction of the ring width over which the interpolation from one colour to the other is done). The default value was chosen to represent common growing cycles in temperate climates (a reasonably quick start of new growth in the spring followed by a slower decline in growth during the late summer).
Default:0.3
Hint:[ 0.1, 1.0 ]
"ring width" Description: The width of the rings in the wood, relative to the tree's trunk. 0.0 means no ring at all, 1.0 means that all the trunk area is covered by the ring colour.
Default:0.2
Hint:[ 0.1, 0.6 ]
"gnarl" Description: Allows random perturbation of the regular rings inside the trunk. This allows localised `knot' patterns to form, for example. The higher value of the parameter the more `gnarled' the rings pattern becomes.
Default:0.07
Hint:[ 0.0, 2.0 ]
"grain" Description: Determines the intensity of the random grain effect in the wood. 0.0 means no grain at all, with higher values making the grains more distinct and visible (values in the order of 0.5, 1.0 or 2.0 create reasonable effects).
Default:0.4
Hint:[ 0.0, 2.0 ]
"ring fuzz grain" Description: The amplitude of the high-frequency perturbations of the ring edges in the wood.
Default:0.1
Hint:[ 0.0, 0.5 ]
"grain scale" Description: Determines the size of the wood grain in relation to wood ring size (both the random grain flecks and the ring fuzz grain). Values between 0.1 and 2.0 are resonable---1.0 means that the grain size is comparable to the distance between two adjacent rings.
Default:0.05
Hint:-

Previous page alphabetically (wrappedbirchfloor)
Next page alphabetically (wrappedbrick)
Index


Copyright © 2010 Lightwork Design Limited. All rights reserved