Skip to content

Commit

Permalink
refactor!: 🔥 remove deprecated image effect implementation (#23)
Browse files Browse the repository at this point in the history
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
happy-turtle authored Dec 7, 2023
1 parent 600fd09 commit 0d4459c
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 1,405 deletions.
8 changes: 0 additions & 8 deletions Legacy.meta

This file was deleted.

3 changes: 0 additions & 3 deletions Legacy/Runtime.meta

This file was deleted.

50 changes: 0 additions & 50 deletions Legacy/Runtime/OitImageEffectComponent.cs

This file was deleted.

13 changes: 0 additions & 13 deletions Legacy/Runtime/OitImageEffectComponent.cs.meta

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
8 changes: 0 additions & 8 deletions Samples~/ImageEffect Component Demo/Materials.meta

This file was deleted.

94 changes: 0 additions & 94 deletions Samples~/ImageEffect Component Demo/Materials/BlueTransparent.mat

This file was deleted.

This file was deleted.

93 changes: 0 additions & 93 deletions Samples~/ImageEffect Component Demo/Materials/GreenTransparent.mat

This file was deleted.

This file was deleted.

89 changes: 0 additions & 89 deletions Samples~/ImageEffect Component Demo/Materials/RedTransparent.mat

This file was deleted.

Loading

0 comments on commit 0d4459c

Please sign in to comment.