MaterialFilteringMode()

Syntax

MaterialFilteringMode(#Material, Mode)
Description
Changes the #Material filtering mode. 'Mode' can take one of the following value:
  #PB_Material_None     : Don't filter the material which becomes very pixelized when the camera gets close.
  #PB_Material_Bilinear : Performs a bilinear filtering when the camera gets close, resulting to a smooth, a bit blured picture.
  #PB_Material_Trilinear: Performs a trilinear filtering when the camera gets close, resulting in the best picture quality possible.
When a material is created, the bilinear filtering is used by default. Using a filter doesn't have a big performance impact on the rendering, as many graphics cards do it using the hardware.

Supported OS

Windows, Linux

<- MaterialDiffuseColor() - Material Index - MaterialID() ->