Name | Type | Description |
---|---|---|
options |
SimpleLightmapFilterOptions |
Options for the SimpleLightmapFilter constructor. |
- See:
Example
displayObject.filters = [new SimpleLightmapFilter(texture, 0x666666)];
Extends
- Filter
Members
DEFAULT_OPTIONS SimpleLightmapFilterOptions staticreadonly
Default values for options.
Coefficient for alpha multiplication
- Default Value:
- 1
The color value of the ambient color
- Default Value:
- 0x000000
Example
[1.0, 1.0, 1.0] = 0xffffff
A sprite where your lightmap is rendered