Graphisoft®

Basic Library Version: 16

Graphisoft shaders

These shader types were made to support the interoperability between standard ArchiCAD Library Parts and the LightWorks® API.

The LightWorks ® API is copyright © 1990-2005 LightWork Design Ltd. All Rights Reserved.

Light Shader - LWA_LIgsspot - Graphisoft Spot

The purpose of this light shader is to emulate the inner spot lightsource type of ArchiCAD. That's why you can learn more about its parameters from the GDL Manual reading about the standard light command.

Light Shader - LWA_LIgssun - Graphisoft Sun

The purpose of this light shader is to emulate a realistic sun. It samples randomly a circle infinitely far away. The number of samples sets the number of these random samples. With the diversion angle we can set the size of the sun.

Light Shader - LWA_LIgssky - Graphisoft Sky

The purpose of this light shader is to emulate a realistic sky. It samples randomly a hemisphere over the currently shaded point. The number of samples sets the number of these random samples.

Light Shader - LWA_LIgsdist - Graphisoft Distant

The purpose of this light shader is to emulate the inner distant lightsource type of ArchiCAD. That's why you can learn more about its parameters from the GDL Manual reading about the standard light command.

Pipeline Shader - LWA_PLgsemission - Graphisoft Emission

This is a generic-use interface shader for modelling emitting surfaces. It has two simple parameters:

LWA_INgsemission_color - COLOR
color of the material
LWA_INgsemission_attenuation - FLOAT
attenuation factor of the emission

Colour Shader - LWA_COgsmaskedimage - Graphisoft Masked Image

This color shader takes two images and the base color as input. The surface color is modulated by the mask as follows; each pixel's color is determined by the base surface color and the image pixel color weighted by the mask value.

Parameters:

LWA_COgsmaskedimage_file - FILENAME
Name of the texture image file.
LWA_COgsmaskedimage_scale - FLOAT
Scale of the texture image.
LWA_COgsmaskedimage_aspratio - FLOAT
Aspect ratio.
LWA_COgsmaskedimage_softness - FLOAT
Softness parameter.
LWA_COgsmaskedimage_mask_file - FILENAME
Name of mask image file.
LWA_COgsmaskedimage_maskscale - FLOAT
Scale of mask image.
LWA_COgsmaskedimage_maspratio - FLOAT
Mask aspect ratio.
LWA_COgsmaskedimage_basecolor - COLOR
Surface base color

Texture-space Shader - LWA_TSgsreplicate - Graphisoft Replicate

Texture space shader which allows scaling, rotation and mirroring of a texture.

Parameters:

LWA_TSgsreplicate_sreflect - BOOLEAN
Texture tiling on/off in S.
LWA_TSgsreplicate_treflect - BOOLEAN
Texture tiling on/off in T.
LWA_TSgsreplicate_ssize - FLOAT
Texture size in S (in model size).
LWA_TSgsreplicate_tsize - FLOAT
Texture size in T (in model size).
LWA_TSgsreplicate_angle-FLOAT
Rotation angle of texturing.
LWA_TSgsreplicate_smirror - BOOLEAN
Texture mirroring on/off in S.
LWA_TSgsreplicate_tmirror - BOOLEAN
Texture mirroring on/off in T.