7.6 KiB
7.6 KiB
UnityFx.Outline changelog
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.
[0.8.5] - 2021.11.18
Bugfixes and improvements.
Added
- Added support for HDR color pickers (#42).
Fixed
- Added loop unroll statement to make shaders compatible with some platforms (WebGL 1.0) (#45).
[0.8.4] - 2021.08.17
Misc improvements.
Added
- Enabled ourlines for renderers with no materials attached (#33).
[0.8.3] - 2021.01.25
Misc improvements and bugfixes.
Fixed
- Fixed
OutlineBehaviournot working in edit mode after disabling and enabling it again.
Changed
OutlineEffectnow works in edit-mode.OutlineEffectnow exposesOutlineLayerCollectioninstead ofIList.OutlineEffectnow usesOnPreRenderto update its command buffer.- Moved
MergeLayerObjectsflag toOutlineLayerfromOutlineLayerCollection. - Multiple
OutlineEffectcomponent instances can now be added to a camera.
[0.8.2] - 2020.11.10
Misc improvements.
Added
- Added support for Single Pass Instanced XR rendering for built-in render pipeline (#13).
Changed
- Misc inspector improvements.
[0.8.1] - 2020.09.21
Alpha test support, bugfixes and misc improvements.
Added
- Added support for alpha-testing (#10).
- Added support for merging outline layer objects (#12).
- Added
RemoveGameObjecthelper methof toOutlineEffect(#15). - Added ability to customize render event in
OutlineBehaviour. - Added ability to render outlines to the specified camera only for
OutlineBehaviour. - Added warning for unsupported render pipelines for
OutlineBehaviourandOutlineEffect.
Changed
- Misc inspector improvements.
- Changed default render event to
AfterSkybox.
Fixed
- Fixed incorrect condition for selection of render method, which sometimes caused problems with outline rendering on mobiles (#14).
[0.8.0] - 2020.05.30
Major refactoring and bugfixes.
Added
- Use procedural geometry (DrawProcedural) on SM3.5+.
- Added support for both forward and deferred renderers.
- Added ignore layer mask settings to
OutlineLayerCollection(previously the ignore layers were specified when adding game objects to layers). - Added
OutlineBuilderhelper script for managinfOutlineLayerCollectioncontent from editor (#8).
Changed
- Changed
OutlineSettingsto display enum mask instead of checkboxes. - Changed inspector look and feel for
OutlineLayerCollectionassets. - Merged shaders for the 2 outline passes into one multi-pass shader.
OutlineLayerCollectiondoe not depend onOutlineRenderernow.
Fixed
- Fixed outline rendering on mobiles (#7).
- Fixed outline shader error on low-end devices.
Removed
- Dropped .NET 3.5 support, minimal Unity version is set to 2018.4.
- Removed
IOutlineSettingsExinterface.
[0.7.2] - 2020.04.08
Depth testing support and performance optimizations.
Added
- Added support for depth testing when rendering outlines. When enabled, outlines are only rendered around the visible object parts (#1).
- Added a few convenience methods to
OutlineEffect. - Added editor tooltips for outline component fileds.
Fixed
- Get rid of GC allocatinos during command buffer updates.
- Fixed
IndexOutOfRangeExceptionwhen setting outline width to max value (#4).
Removed
- Removed change tracking support in package entities (#2).
[0.7.1] - 2020.01.28
Bugfixes and project layout changes.
Fixed
- Fixed
OutlineBehaviourto allow changing its state while itsGameObjectis inactive.
[0.7.0] - 2019.11.26
MaterialPropertyBlock-based rendering and Unity Post-processing Stack v2 compatibility.
Added
- Moved to for
MaterialPropertyBlock-based rendering. This is in-line with Unity post-processing Stack and is more performant approach. - Significant optimizations made to
OutlineRenderer.
Changed
IOutlineSettingsnow implementsIEquatable.- Changed all outline shaders to use HLSL-based macros.
- Modified all shaders to ignore MVP vertex transform to be compatible with the new rendering model.
- Exposed rendering APIs for
OutlineLayerandOutlineLayerCollection.
Fixed
- Fixed
TiledGPUPerformanceWarningon mobile targets.
Removed
- Removed
OutlineMaterialSetclass. It is not used inMaterialPropertyBlock-based effect rendering.
[0.6.0] - 2019.09.26
Quality of life improvements.
Added
- Added
OutlineLayer.Enabled. - Added
OutlineLayer.Name. - Added possibility to change render order of layers via
OutlineLayer.Priority. - Added possibility to edit renderers of an
OutlineLayer. - Added possibility to alter
CameraEventused to renderOutlineEffect. - Added more info to the
OutlineLayerpreview inspector.
Changed
IOutilneSettingssetters now throw if overriden.
Fixed
- Fixed
OutlineLayer.Addnot filtering renderers by the mask passed.
[0.5.0] - 2019.09.09
Editor UI improvements and unit tests.
Added
- Added
OutlineSettings, that can be shared between dfferentOutlineLayerandOutlineBehaviourinstances. - Added custom inspectors for
OutlineSettings,OutlineLayerCollection. - Added undo/redo support to all custom inspectors.
- Added unit-tests.
Changed
- Improved inspectors for
OutlineBehaviourandOutlineEffect.
[0.4.0] - 2019.08.31
Blurred outlines.
Added
- Added Gauss blurring to outlines.
- Added outline mode parameter (possible values are
SolidandBlurred). - Added outline intensity parameter (for blurred outlines only).
- Added
IOutlineSettingsinterface to make outline settings the same forOutlineBehaviourandOutlineLayer. - Added
OutlineMaterialSethelper.
Changed
- Changed solid outline to use Gauss sampling (to achieve smoother outlines).
- Changed outline implementation to use different passed for horizontal and vertical sampling (to make algorithm complexity linear instead of quadric).
Fixed
- Fixed an issue with
OutlineBehaviournot rendering outlines if attached to aGameObjectwith no renderers.
Removed
- Removed
OutlineResourceCacheclass.
[0.3.0] - 2019.08.27
Added
- Added support for sharing outline layers between
OutlineEffectinstances. - Added custom editors for
OutlineEffectandOutlineBehaviour. - Added possibility to setup outline layers as
ScriptableObjectasset.
Fixed
- Fixed profiler error 'BeginSample and EndSample count must match'.
[0.2.0] - 2019.08.19
Added
- Added
OutlineBehaviourfor rendering per-object outlines. - Added
OutlineResourcesto help initialize outline effects in runtime. - Added
OutlineRendereras low-level helper for outline rendering.
[0.1.0] - 2019.08.18
Added
- Initial release.