Manual
Highlight
Add Pass Forge Highlight to an object to outline it, make it glow, show it through walls, lay a color or an animated pattern over it, restyle its surface or frame it with target brackets. The look comes from a Highlight Profile (Assets > Create > Pass Forge > Highlight Profile), shown inline in the component's inspector. With no profile, a plain orange outline is drawn on the parts the camera sees; New Profile in the inspector makes one to change it, for example to show the object behind walls with Outline > Visibility. The component draws the object's Mesh Renderers, Skinned Mesh Renderers and Sprite Renderers, including those on its children unless Include Children is off. Parts whose material is alpha clipped, such as leaves, fences, grass and hair cards, are outlined by what their texture shows rather than by their whole card. Spine skeletons are outlined by what their attachments show, with no setting, and so are their flashes and afterimages (see Can I highlight Spine skeletons? under Common questions). On an object with a LOD Group only the level the camera shows is drawn, and both levels while they cross-fade. Effect Masks, Reveal Lens clues and afterimages set to Screen follow the level on screen the same way. The inspector names any renderer the highlight leaves out, such as a particle system, a trail or a Tilemap, and the Overview notes how many on the highlight's row. After changing a LOD Group's levels from a script with LODGroup.SetLODs, call RefreshRenderers() on the highlight, Effect Mask or Afterimage, or RefreshClues() on a Reveal Lens.
The inspector's Preset menu assigns any shipped or saved highlight profile. Shipped profiles are read only, so choose one and use Make Editable Copy to adjust it: it asks for a name, saves your copy in Assets/Pass Forge Effects/Highlight Profiles and gives it to the object. Your copy is then listed with the presets under that name, in the Preset menu and in the presets window, ready for other objects.
Enable and disable the component to select and deselect. Objects that share a profile are drawn together, so give every object that should look the same the same profile asset rather than a copy each.
Each part of a profile is switched on by its own header.
Outline
| Setting | What it does |
|---|---|
| Color | Outline color. Alpha fades the whole outline; HDR values feed bloom. |
| Width | Width in pixels, 0.5 to 32. Exact at any width, with round corners. |
| Softness | How softly the outer edge fades, in pixels. |
| Scale With Resolution | Treat the width as pixels at 1080p and scale it with the screen. |
| Visibility | Always outlines the whole silhouette, Visible Only the parts the camera sees, Hidden Only the parts behind other geometry. |
| Style | Solid draws one color. Dashed marches stripes of the two colors along the outline; Energy flickers between them and wavers in width, for fire and electricity; Brush swells and tapers like an ink stroke and is redrawn a few times a second. |
| Secondary Color | Second color for Dashed and Energy. Zero alpha leaves gaps between the dashes. |
| Pattern Size, Pattern Speed | Size of the dashes, energy detail or brush swells in pixels, and how fast they move or how often a brush stroke is redrawn. |
An outline is measured only in the part of the screen around its objects, so its cost follows how much of the screen they cover. Outlines 6 pixels and wider are measured at half resolution, which costs a quarter as much with no visible difference at that width.
Glow
| Setting | What it does |
|---|---|
| Color | Glow color. HDR values feed bloom. |
| Intensity | Brightness of the glow, 0 to 8. |
| Radius | How far the glow spreads, 1 to 5. Each step roughly doubles the reach. |
| Outside Only | Keep the glow off the object itself, so only the halo lights up. |
| Visibility | Which part of the object casts the glow. |
| Style | Soft spreads a halo all around. Aura raises flat bands of toon flame from the silhouette, like an anime power up; give it a large Radius. |
| Aura Height, Aura Speed | How high aura flames rise in pixels, and how fast. |
See-Through
| Setting | What it does |
|---|---|
| Color | Color of the silhouette drawn where the object is hidden. |
| Opacity | How opaque the silhouette is. |
| Rim | Fade the middle of the silhouette so its edges stand out, like an x-ray. |
| Rim Power | How tightly the rim hugs the edges. |
Overlay
| Setting | What it does |
|---|---|
| Color | Color laid over the visible surface. |
| Intensity | Strength of the overlay. |
| Blend | Tint paints the object towards the color, Additive brightens it. |
| Rim, Rim Power | Concentrate the overlay at the object's edges, for a rim light look. |
| Pulse Speed, Pulse Amount | Pulses per second, and how far each pulse dims the overlay. |
Pattern
| Setting | What it does |
|---|---|
| Type | Scanlines for holograms, Stripes for warnings, Grid for wireframes, Dots for magic or poison, Hexagons for shields, Noise for electricity, Circuit for tech, Runes for magic marks, Camouflage, Scales, Veins for curses and corruption, Hearts for charm, Drips for slime and paint running down from the top, Grime for mud building up from the bottom, Wet Sheen, Cracks for stone and damage, Foil for rainbow holographic sheen, Glint for a band sweeping across loot, and Embers for charred things. |
| Color, Intensity | Pattern color and strength. HDR values feed bloom. |
| Blend | Tint paints the pattern in its color, Additive makes it glow. |
| Scale, Speed | Size of one repeat, in centimeters on the surface or in pixels for the screen patterns, and how fast the pattern moves. |
| Visibility | Which part of the object gets the pattern. Always also covers the parts behind other geometry. |
Most patterns lie on the object's own surface: they are worked out from the object's shape while it is drawn, so they stay in place when the object walks, turns or the camera circles it, and grow as it comes nearer, like paint on it. Scanlines, Noise, Foil and Glint belong to the screen instead, as on a hologram, a bad signal or light catching the surface, and keep their size on screen. All the parts of a highlighted object share one pattern, laid out from the object carrying the Highlight. Far away, where the repeats would shrink to a few pixels and flicker, a surface pattern settles to an even tint. Drips and Grime measure their height on the object's outline on screen. On a skinned character the pattern follows the body, and moving limbs slide through it a little.
Surface Style
| Setting | What it does |
|---|---|
| Pixel Size | Draws the object in large pixels of this size, which also squares off its silhouette. |
| Blur | Blurs the object by this many pixels, set for a 1080 pixel high picture and grown with taller ones. Only pixels of objects with this profile are mixed, so the outline stays in place and nothing behind bleeds in: the way to censor a sign, hide a spoiler or put one object out of focus. |
| Color Levels | Tones per color channel, for a flat toon look. Zero keeps every tone. |
| Desaturate, Brightness, Contrast | Color adjustments, for stone, frozen, statue or ghostly looks. |
| Surface | A material look: Glass bends the scene through the object, Cloak makes it nearly vanish into its surroundings with shimmering edges, Ghost makes it see-through, cold and wavering, and Glitch slices it into jumping bands with split colors. |
| Surface Amount, Distortion | Strength of the material look, and how far it bends or shifts the picture in pixels. |
Surface Style changes only the parts of the object the camera sees. The material looks are built from the picture around the object, since what is directly behind it was never drawn, so they read best on objects against busy backgrounds.
Fill
| Setting | What it does |
|---|---|
| Amount | How far the fill has grown, from 0 to 1. Animate it from a script. |
| Direction | Up, Down, Left To Right, Right To Left, or From Point, which spreads outward from Spread Point. |
| Spread Point | World position a From Point fill spreads from, such as where a hit landed. |
| Color, Color Strength | Color of the filled part, and how strongly it takes it. |
| Edge Color, Edge Width | The glowing band along the fill's front. |
| Limit Others | Hold the surface style, overlay and pattern to the filled part, so a state spreads with the fill, or to the part not filled yet, so it recedes. |
A fill makes progress bars on objects, charging and capture points, statues turning to stone bit by bit, and ice or poison spreading from a hit. To drive one object's fill during play, set highlight.fillAmount = progress;, or pick SetFillAmount in a UnityEvent such as a UI Slider's On Value Changed, with no code. SetSpreadPoint(position) moves where a From Point fill starts. Either gives the object its own copy of the profile, so other objects sharing it are not affected.
Rarity Beam
| Setting | What it does |
|---|---|
| Color, Intensity | Color and brightness of the column of light rising from the object. |
| Width | Width as a share of the object's width on screen. |
| Height | How high the beam rises, as a share of the screen height. |
| Pulse Speed, Shimmer | Pulses per second, and light rippling up the beam. |
Brackets
| Setting | What it does |
|---|---|
| Color | Bracket color. HDR values feed bloom. |
| Thickness, Length | Line thickness in pixels, and arm length as a fraction of the box's shorter side. |
| Padding | Space between the object's rectangle on screen and the brackets. |
| Pulse Speed, Pulse Distance | Pulses per second, and how far the brackets move out on each pulse. |
Brackets frame the object's bounds on screen, so they also surround parts hidden behind other geometry. Up to 16 objects per profile get brackets.
Shipped highlight presets: Selection Outline, Hover Glow, Enemy X-Ray, Ally Through Walls, Pickup Pulse, Target Lock, Hologram, Marching Ants, Energy Shield, Burning, Electrified, Frozen, Hologram Scan, Pixel Object, Blurred Object, Toon Object, Target Brackets, Silhouette, Gold Statue, Warning Stripes, Wireframe Grid, Poisoned, Circuit Glow, Rune Marks, Camouflage, Dragon Scales, Cursed Veins, Charmed Hearts, Slime Coating, Surface Grime, Wet Surface, Petrify, Iridescent Foil, Loot Glint, Rarity Beam, Charred Aftermath, Progress Fill, Freeze From Hit Point, Materialize Scan, Glass Statue, Invisibility Cloak, Ghost Form, Object Glitch, Brush Stroke Outline, Anime Power Aura and Buff Rim Pulse.
Flash. Call Flash(color, duration) on an object's Pass Forge Highlight, for example GetComponent<PassForgeHighlight>().Flash(Color.red, 0.15f), to flash it in a color that fades out over the duration, for hits, pickups and confirmations; Flash() alone flashes white for a fifth of a second. It needs no profile and works while the component is disabled, so a disabled Pass Forge Highlight serves as a flash only. All flashing objects share one extra pass.