Namespace: LightingModel

LightingModel

LightingModel defines a lighting model to be used by a {@Material}. A default lighting model can be assigned to InitOptions#defaultLightingModel, which will mean any material will use it by default.

You can add pass your own lighting models as a string into a material, as long as the glsl code contains the hx_brdf function

Author:
  • derschmale <http://www.derschmale.com>

Members


<static> BlinnPhong

Normalized Blinn-Phong shading applied


<static> DEBUG

Empty brdf


<static> GGX

GGX shading applied


<static> GGX_FULL

Full GGX shading applied (includes visibility term)


<static> Unlit

No lighting applied when rendering