-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: 🔥 remove deprecated image effect implementation (#23)
The image effect component implementation is very cumbersome and error prone. Support from Unity for this old implementation is lacking as well. Hence I don't want to support it anymore. Removes image effect component. For use with the built-in pipeline use the post-processing implementation instead.
- Loading branch information
1 parent
600fd09
commit 0d4459c
Showing
16 changed files
with
0 additions
and
1,405 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,6 @@ If in doubt try to import the sample you want to use and start from there. | |
- **High-Definition Render Pipeline:** Create a [Custom Pass volume](https://docs.unity3d.com/Packages/[email protected]/manual/Custom-Pass-Creating.html) and add `OitRenderPass` to it. | ||
- **Universal Render Pipeline:** Add the renderer feature `Order Independent Transparency Renderer` to your Universal Renderer Asset. _Note: URP documentation only describes a [fullscreen Blit](https://docs.unity3d.com/Packages/[email protected]/manual/renderer-features/how-to-fullscreen-blit.html) which only works in Game view. If you know whether a fullscreen Blit in URP in Scene view as well as in Game view is possible, help would be very much appreciated._ | ||
- **Post-Processing Stack v2:** Add the post-processing override `Order Independent Transparency` to a post-processing volume in your scene. | ||
- **ImageEffect Component:** Add the component `OitImageEffectComponent` to your scene e.g. to your main camera. | ||
|
||
2. Change the material of every object that shall be rendered with order-independent transparency. They have to be rendered with a shader writing to the buffer used by the order-independent transparency implementation. Two sample shaders that you can use are included in this project: `OrderIndependentTransparency/Unlit` for all pipelines and additionally `OrderIndependentTransparency/Standard` for the built-in pipeline. | ||
|
||
|
This file was deleted.
Oops, something went wrong.
94 changes: 0 additions & 94 deletions
94
Samples~/ImageEffect Component Demo/Materials/BlueTransparent.mat
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
Samples~/ImageEffect Component Demo/Materials/BlueTransparent.mat.meta
This file was deleted.
Oops, something went wrong.
93 changes: 0 additions & 93 deletions
93
Samples~/ImageEffect Component Demo/Materials/GreenTransparent.mat
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
Samples~/ImageEffect Component Demo/Materials/GreenTransparent.mat.meta
This file was deleted.
Oops, something went wrong.
89 changes: 0 additions & 89 deletions
89
Samples~/ImageEffect Component Demo/Materials/RedTransparent.mat
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.