|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class | Transparency | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Synopsis |
A square region of transparency.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Arguments |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Location | lishlite | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
A transparency shader that provides a single square aligned
with the texture space. The square extends as follows:
"s min" <= s <= "s max"
"t min" <= t <= "t max"
There is a soft edge to the square, expressed as a 'fuzz' factor which encodes a value in the range 0 to 1. Fuzz can be specified separately for the s and t dimensions. The alpha value inside and outside the square are given by "inside coverage" and "outside coverage" respectively.
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 "s fuzz" and "t fuzz" parameters. 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 parameters will have no effect if you have not licenced Advanced Rendering.
The "scale" parameter defines how many times the image texture fits into each unit of the (s,t) texture-space coordinate system (in fact to be precise this parameter defines the number of times which the height of the image will fit into one unit of the t direction of texture-space).
Previous page alphabetically (wrappedrough) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright © 1990-2005, 2006 LightWork Design Limited. All rights reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||