@motion-script/core / Environment3D
Type Alias: Environment3D
Environment3D = {
intensity?:number;rotation?:Vector3Input;src:string;type:"equirect"; } | {faces: readonlystring[];type:"cubemap"; } | {intensity?:number;type:"room"; }
Defined in: render3d/scene-settings.ts:38
Image-based lighting — light the scene with an environment rather than with
discrete lights. This is what makes standard/physical metals read as metal;
without it a metallic surface has nothing to reflect and looks black.
Union Members
Type Literal
{ intensity?: number; rotation?: Vector3Input; src: string; type: "equirect"; }
A 360° HDR panorama. Needs a loader for .hdr/.exr.
Type Literal
{ faces: readonly string[]; type: "cubemap"; }
Type Literal
{ intensity?: number; type: "room"; }
A built-in studio interior. Needs no asset — the fastest way to good metal.