UnityFx.Outline
SUMMARY
Screen-space outline effect for Unity.
This package contains configurable per-object and per-camera outline effect implementation for built-in render pipeline. Both solid and blurred outline modes are supported (Gauss blur), as well as depth testing. Reusable and extensible API.
Screen-space outline effect for Unity.
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog; this project adheres to Semantic Versioning.
Bugfixes and improvements.
Misc improvements.
Misc improvements and bugfixes.
OutlineBehaviour
not working in edit mode after disabling and enabling it again.OutlineEffect
now works in edit-mode.OutlineEffect
now exposes OutlineLayerCollection
instead of IList
.OutlineEffect
now uses OnPreRender
to update its command buffer.MergeLayerObjects
flag to OutlineLayer
from OutlineLayerCollection
.OutlineEffect
component instances can now be added to a camera.Misc improvements.
Alpha test support, bugfixes and misc improvements.
RemoveGameObject
helper methof to OutlineEffect
(#15).OutlineBehaviour
.OutlineBehaviour
.OutlineBehaviour
and OutlineEffect
.AfterSkybox
.Major refactoring and bugfixes.
OutlineLayerCollection
(previously the ignore layers were specified when adding game objects to layers).OutlineBuilder
helper script for managinf OutlineLayerCollection
content from editor (#8).OutlineSettings
to display enum mask instead of checkboxes.OutlineLayerCollection
assets.OutlineLayerCollection
doe not depend on OutlineRenderer
now.IOutlineSettingsEx
interface.Depth testing support and performance optimizations.
OutlineEffect
.IndexOutOfRangeException
when setting outline width to max value (#4).Bugfixes and project layout changes.
OutlineBehaviour
to allow changing its state while its GameObject
is inactive.MaterialPropertyBlock
-based rendering and Unity Post-processing Stack v2 compatibility.
MaterialPropertyBlock
-based rendering. This is in-line with Unity post-processing Stack and is more performant approach.OutlineRenderer
.IOutlineSettings
now implements IEquatable
.OutlineLayer
and OutlineLayerCollection
.TiledGPUPerformanceWarning
on mobile targets.OutlineMaterialSet
class. It is not used in MaterialPropertyBlock
-based effect rendering.Quality of life improvements.
OutlineLayer.Enabled
.OutlineLayer.Name
.OutlineLayer.Priority
.OutlineLayer
.CameraEvent
used to render OutlineEffect
.OutlineLayer
preview inspector.IOutilneSettings
setters now throw if overriden.OutlineLayer.Add
not filtering renderers by the mask passed.Editor UI improvements and unit tests.
OutlineSettings
, that can be shared between dfferent OutlineLayer
and OutlineBehaviour
instances.OutlineSettings
, OutlineLayerCollection
.OutlineBehaviour
and OutlineEffect
.Blurred outlines.
Solid
and Blurred
).IOutlineSettings
interface to make outline settings the same for OutlineBehaviour
and OutlineLayer
.OutlineMaterialSet
helper.OutlineBehaviour
not rendering outlines if attached to a GameObject
with no renderers.OutlineResourceCache
class.OutlineEffect
instances.OutlineEffect
and OutlineBehaviour
.ScriptableObject
asset.OutlineBehaviour
for rendering per-object outlines.OutlineResources
to help initialize outline effects in runtime.OutlineRenderer
as low-level helper for outline rendering.