What it does
material.createPBR creates a PBR in material. It takes id.
Signature
material.createPBR(id)Arguments
id
Example · generated
function start() { material.createPBR('pBR');}material.createPBR is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.