shader: "wrapped grid"

"wrapped grid"

ShaderTransparency

"wrapped grid"( "scale" LtFloat 1.0
"width" LtFloat 0.8
"height" LtFloat 0.8
"grid size" LtFloat 0.2
"transparency" LtFloat 0.0
"fuzz" LtFloat 0.0
)
Synopsis A grid transparency pattern.
Locationlishlite
Description A transparency shader providing a grid pattern in texture space. The grid will appear opaque, with holes visible between the grid lines. An overall scaling factor for the pattern is given by parameter "scale"; increasing this value will make the pattern appear larger. The width and height of the repeated grid pattern are given by "width" and "height" respectively, and the width and height of the grid lines are specified by "grid size". A transparency value as a scalar quantity can be specified for the grid pattern with parameter "transparency", where a value of zero indicates opaque, and a value of one fully transparent.

This shader will automatically perform analytic anti-aliasing if you have licenced the Advanced Rendering product, or standard anti-aliasing otherwise. In the analytically antialiased version of the shader the degree of edges blurring can be controlled by the "fuzz" parameter. The parameter range is 0.0 to 1.0. 0.0 means no fuzz---edges are razor sharp. 1.0 gives maximal blurring---the blurred area width is equal to the half of the square size. The "fuzz" parementer will have no effect if you have not licenced Advanced Rendering.

Previous page alphabetically (wrappedgridcolour)
Next page alphabetically (wrappedheightmap)
Index


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