Companion

external object Companion(source)

Properties

Link copied to clipboard
external val PBR: LightingModel

Use physically-based rendering lighting calculations. This includes both PBR metallic roughness and PBR specular glossiness. Image-based lighting is also applied when possible.

Link copied to clipboard
external val UNLIT: LightingModel

Use unlit shading, i.e. skip lighting calculations. The model's diffuse color (assumed to be linear RGB, not sRGB) is used directly when computing out_FragColor. The alpha mode is still applied.