Where is PBRCustomMaterial?

Sorry for this dumb question but im trying to use a PBRCustomMaterial and I cannot seem to find where to import it.
import { PBRCustomMaterial} from “@babylonjs/core” turns up nothing cause its not defined in
@babylonjs/core/Materials/PBR/pbrMaterial.d.ts
and there is no pbrCustomMaterial to be found anywhere.

I am using “@babylonjs/materials”: “^5.21.0”,

Heya, you can import it like below after installing the Materials package: “@babylonjs/materials”. :slight_smile:

import { PBRCustomMaterial } from "@babylonjs/materials/custom/pbrCustomMaterial";
1 Like

ah yes obviously. lol. thanks!

1 Like