411 REFERENCE · Wikibooks
Brlcad/How to mged/shader
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Shader types
There are three types of shaders available from within mged:
Paint shaders
Plastic shaders
Light shaders
Paint shaders
Paint shaders apply pigment and texture to object surfaces.
/bwtexture/ -- black and white texture maps.
/camo/ -- camouflage shader.
/checker/ -- checkerboard shader.
/cloud/ -- Geoffrey Gardner 2d style cloud texture map.
/fakestar/ -- fake star pattern.
/texture/ -- full colour texture mapping.
Plastic shaders
The three plastic shaders are:
/mirror/ -- mirror surface.
/glass/ -- simulated grass.
/plastic/ -- simulated plastic.
Light shader
The light shader provides a complex facility for producing image illumination.
Full list of shaders
The /mged/ tool provides support for the following shader types:
/bump/ -- The bump map shader.
/bwtexture/ -- black and white texture maps.
/camo/ -- camouflage shader.
/checker/ -- checkerboard shader.
/cloud/ -- Geoffrey Gardner 2d style cloud texture map.
/envmap/ -- environment mapping shader.
/fakestar/ -- fake star pattern.
/fbmbump/ -- fractional brownian motion noise applied to a normal.
/fbmcolor/ -- fractional brownian motion noise applied to colour.
/fire/ -- simulated flames.
/glass/ -- simulated grass.
/gravel/ -- gravel noiset applied to color and normal.
/light/ -- light source.
/marble/ -- marble texture.
/mirror/ -- mirror surface.
/plastic/ -- simulated plastic.
/rtrans/ -- random transparency.
/scloud/ -- 3D cloud shader.
/spm/ -- spherical texture maps.
/stack/ -- stacking shader.
/stxt/ -- shape texture mapping.
/texture/ -- full colour texture mapping.
/turbump/ -- turbulence noise applied to normals.
/turcolor/ -- turbulence noise applied to colour.
/wood/ -- wooden texture.
See also
/shader properties/