MGED CMD shader


shader[edit]

Syntax[edit]

shader combination shader_name ["{shader_args}"]


Argument(s)[edit]

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


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

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)[edit]

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[edit]

mater



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