Screen-space outlines for Unity3d.
Bugfixes and improvements.
OutlineLayerCollection
, thanks @AGM-GR for help (#39).BeginSample
/EndSample
profiler calls when rendering outlines to get rid of the editor errors (#44).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.Alpha test support, bugfixes and misc improvements.
RemoveGameObject
helper methof to OutlineEffect
(#15).OutlineBehaviour
.OutlineBehaviour
.OutlineBehaviour
and OutlineEffect
.AfterSkybox
.URP support, core 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).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.