MGED CMD shader


[edit] shader

Contents


[edit] Syntax

shader combination shader_name ["{shader_args}"]


[edit] Argument(s)

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


[edit] Return Value(s)

No Return Values for this command.


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

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

[edit] See Also

mater



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