'\" t
.\"     Title: SHADER
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 04/13/2022
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "SHADER" "nged" "04/13/2022" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
shader \- Assigns shader parameters to the specified combination\&.
.SH "SYNOPSIS"
.HP \w'\fBshader\fR\ 'u
\fBshader\fR {\fIcombination\fR} {\fIshader_name\fR} [\fI"{shader_\ args}"\fR]
.SH "DESCRIPTION"
.PP
Assigns shader parameters to the specified combination\&. The
\fIshader_name\fR
indicates which shader should be assigned\&. If
\fIshader_args \fR
are supplied, they will be assigned to parameters of the indicated shader\&. This performs a similar function as the
\fBmater\fR
command\&.
.SH "EXAMPLES"
.PP
The example shows the use of the
\fBshader\fR
command to assign shader parameters to a specified combination\&.
.PP
\fBExample\ \&1.\ \&Assign shader parameters to a specified combination.\fR
.PP

mged>\fBshader group1 checker "{a 0,255,0 b 0,0,255}"\fR
.PP
Assigns the checkerboard shader to
\fIgroup1\fR
using green and blue colors for the squares\&.
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
