create
 
 
 

Syntax:

create [shader|light|texture] (model = <name>, filename = "<filename>.o" );

Range:

Not applicable.

Default:

Not applicable.

Purpose:

After the create statement is placed in an SDL file, the OpenRender model specified by the create statement can be used just like an Alias model.

Comments:

See the OpenRender document for more details.

Example:

create shader ( model = new_shader, filename = "new_shader.o" );
.
.
.
shader grey (
 model    = new_shader,
 lcolor   = (150, 150, 150),
 ldiffuse = 0.8,
 glow     = (20, 20, 180)
);