Experimental:MAT

From Derivative
Jump to navigation Jump to search

Experimental - Skipping Glossary


Summary
[edit]

OP MAT.png

MATs or Materials are an Operator Family that applies a Shader to a SOP or 3D Geometry Object for rendering textured surfaces with lighting.

See also Category:MATs for a full list of articles related to MATs.

Material Operators, or MATs, are used to create materials for geometry. They can be applied to geometry using the Material parameter on the Display page of Object Components.

The Phong MAT and GLSL MAT are designed to use TOPs and GLSL programs (pixel and vertex shaders) as inputs to create more advanced shaders.

The most commonly used MAT is the Phong MAT. The Phong MAT contains a large number of lighting options that allow the users to create some very unique effects.

Phong MAT - applies a phong shader to the geometry. Geometry must have normals for specular shading to work. Geometry must have Texture Coordinates for any applied maps to work (ie Color Map, Bump Map, Specular Map, etc). Geometry can be deformed using the Deform parameter page. The Phong MAT offers other advanced features for Transparency, Rim Lights, and Shadows.

PBR MAT - applies a PBR shader to the geometry. Use in conjunction with an Environment Light COMP. Substance Designer PBR materials can also be used via .sbsar files loaded into the Substance TOP.

Line MAT - renders the geometry edges as lines and points with different geometry.

Constant MAT - this material applies a constant flat color to the geometry. There is no specular shading, ie shading is not affected by the camera or light positions.

PBR MAT - applies a PBR shader to the geometry. Use in conjunction with an Environment Light COMP. Substance Designer PBR materials can also be used via .sbsar files loaded into the Substance TOP.

Depth MAT - can be used to get depth information from the geometry for a depth-pass render. It will not render any color.

GLSL MAT - a powerful material operator which applies Pixel and Vertex GLSL shaders to the geometry. Geometry can be deformed on the GPU using vertex shaders. Geometry must have Texture Coordinates and normals.

Point Sprite MAT - special material for use with Point Sprite geometry type. The Particle SOP can create point sprites.

PythonIcon.pngMAT Class


Using MATs[edit]

  • for Materials to texture geometry with, Phong MAT, GLSL MAT
  • setup for materials (normals, uvs, where to apply, lighting and rendering)
  • examples of applying a material, example of Rim Lighting, example of shadows