LightingCompositeOptions
Defined in: lighting/src/LightingComposite.ts:20
Options for LightingComposite.
Properties
Section titled “Properties”antialias?
Section titled “antialias?”
optionalantialias?:boolean
Defined in: lighting/src/LightingComposite.ts:32
Antialias the light buffer. Default false.
bounce?
Section titled “bounce?”
optionalbounce?:BounceLightOptions|null
Defined in: lighting/src/LightingComposite.ts:34
Bounced light combined with the buffer, or null for none.
height
Section titled “height”height:
number
Defined in: lighting/src/LightingComposite.ts:28
Buffer height in virtual pixels.
label?
Section titled “label?”
optionallabel?:string
Defined in: lighting/src/LightingComposite.ts:36
Label prefix for the buffers and sprites, shown in the Pixi devtools.
parent
Section titled “parent”parent:
DisplayContainer
Defined in: lighting/src/LightingComposite.ts:24
Screen-space container the finished light is shown in.
resolutionScale?
Section titled “resolutionScale?”
optionalresolutionScale?:number
Defined in: lighting/src/LightingComposite.ts:30
Light-buffer texel density relative to the canvas. Default 1.
source
Section titled “source”source:
DisplayContainer
Defined in: lighting/src/LightingComposite.ts:22
The container a renderer draws one scene’s light into.
width:
number
Defined in: lighting/src/LightingComposite.ts:26
Buffer width in virtual pixels.
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/lighting.md.