Shader: "chrome"

"chrome"

ClassColour
Synopsis Simple, quick, chrome-like colour effect.
Arguments

"base colour" Type: LtColour
Default:(1.0, 1.0, 1.0)
Range: [ 0, inf ], [ 0, inf ], [ 0, inf ]
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"vector" Type: LtVector
Default:(0.0, 1.0, 0.5)
Range: [ -inf, inf ], [ -inf, inf ], [ -inf, inf ]
Hint: [ -1, 1 ], [ -1, 1 ], [ -1, 1 ]
"mix" Type: LtFloat
Default:0.5
Range:[ 0, 1 ]
Hint:[ 0, 1 ]
Locationlishlite
Description A colour shader which provides a simple chrome-like effect. The source has a base colour, specified by argument "base colour", which is mixed with bands of colours based on the orientation of the surface relative to a direction specified by argument "vector". A "mix" argument is used to specify the ratio of mixing of base colour with the reflection colours. This value should lie in the range 0 to 1, where a value of 1 indicates all base colour and no reflection colours.

This may be used in conjunction with the "chrome 2d" reflectance shader.

Previous page alphabetically (cherrydisplacement)
Next page alphabetically (chrome2d)
Index


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