You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to see another type of light.
A polygonal light for emulate a spot light.
"spot" : Spotlight
A directional light with with range cone. var shape = new PIXI.Polygon (points,...)
If that can give a good idea.
It's a suggestion.
PIXI.lights.Spotlight({type: "Spotlight",// Light type,diffuse: [1.0,1.0,1.0],// Diffuse Light color.specular: [0.1,0.1,0.1],// Specular Light color.intensity: 1.0,// Light intensity.distance: 10.0,// Maximum light distance for point lights.cutoff: 60.0,// For spotlight types this is the cut-off angle of the cone.});
The text was updated successfully, but these errors were encountered:
It would be great to see another type of light.
A polygonal light for emulate a spot light.
"spot" : Spotlight
A directional light with with range cone.
var shape = new PIXI.Polygon (points,...)
If that can give a good idea.
It's a suggestion.
The text was updated successfully, but these errors were encountered: