Members
-
<static> ALPHA :Number
-
Alpha value from 0 to 1.
- Default Value:
- 0.25
- Source:
-
<static> B :Number
-
Blue value from 0 to 1.
- Default Value:
- 1
- Source:
-
<static> CASTS_SHADOWS :Boolean
-
Whether light should cast shadows on objects that are ig.EntityExtended#opaque.
- IMPORTANT: casting shadows can have a higher performance cost, use carefully!- Default Value:
- false
- Source:
-
<static> CASTS_SHADOWS_MOVABLE :Boolean
-
Whether light should cast shadows on movable objects that are ig.EntityExtended#opaque.
- IMPORTANT: casting shadows can have a higher performance cost, use carefully!- Default Value:
- false
- Source:
-
<static> DIFFUSE :Number
-
How much light should get through objects that are ig.EntityExtended#opaque.
- Default Value:
- 0.8
- Source:
-
<static> G :Number
-
Green value from 0 to 1.
- Default Value:
- 1
- Source:
-
<static> GRADIENT :Boolean
-
Whether light should be gradient or flat shaded.
- when false, this works well in combination with ig.CONFIG.LIGHT#PIXEL_PERFECT- Default Value:
- true
- Source:
-
<static> PIXEL_PERFECT :Boolean
-
Whether light should be drawn and scaled pixel perfectly. IMPORTANT: pixel perfect scaling has a very high performance cost, use carefully!
- Default Value:
- false
- Source:
-
<static> R :Number
-
Red value from 0 to 1.
- Default Value:
- 1
- Source:
-
<static> SAMPLES :Number
-
Number of passes to make when casting shadows.
- IMPORTANT: casting shadows can have a higher performance cost, use carefully!- Default Value:
- 1
- Source: