Revision e8a86d16
Added by Leszek Koltunski about 4 years ago
| src/main/java/org/distorted/library/effect/PostprocessEffectBorder.java | ||
|---|---|---|
| 89 | 89 |
|
| 90 | 90 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 91 | 91 |
/** |
| 92 |
* Draw a sharp 'border' around the object. Unlike 'GLOW', the border is entirely around the object |
|
| 93 |
* and not in front of it. |
|
| 92 |
* Draw a sharp 'border' around the object. |
|
| 93 |
* One can decide if the border is around the object or behind it by carefully setting the |
|
| 94 |
* componentCenters of the object's mesh first. |
|
| 94 | 95 |
* |
| 95 | 96 |
* @param halo How far beyond the object does the effect stretch to? Unit: Percentage of the size |
| 96 | 97 |
* of the original object, i.e. halo=0 --> no effect at all, halo=100 --> border of |
Also available in: Unified diff
comment.