MGED CMD shader


shader

Syntax

shader combination shader_name ["{shader_args}"]


Argument(s)

combination
Valid BRL-CAD Combination.
shader_name
Name for shader.
["{shader_args}"]
Optional. Shader specific arguments.


Return Value(s)

No Return Values for this command.


Description

The "shader" command assigns shader parameters to the specified combination. The shader_name indicates which shader should be assigned. If shader_args are supplied, they will be assigned to parameters of the indicated shader. This performs a similar function as the mater command.

Example(s)

mged> shader group1 checker "{a 0,255,0 b 0,0,255}"
Assign the checkerboard shader to group1 using green and blue colors for the squares.

See Also

mater



Page Generated by David Loman on: 10/12/2007 at: 7:22:14 AM