Skip to content

Commit

Permalink
docs: add steps for HDRP
Browse files Browse the repository at this point in the history
  • Loading branch information
Rofli Sanches committed May 26, 2021
1 parent 3829471 commit 02962e9
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ To update (using ImGui.Net.dll) easier and often.
| Docking | :x: | :heavy_check_mark: |
| RenderPipeline Built in | :heavy_check_mark: | :heavy_check_mark: |
| RenderPipeline URP | :x: | :heavy_check_mark: |
| RenderPipeline HDRP | :x: | :x: |
| RenderPipeline HDRP | :x: | :heavy_check_mark: |
| Renderer Mesh | :heavy_check_mark: | :heavy_check_mark: |
| Renderer Procedural | ~ | :heavy_check_mark: |
| FreeType | :heavy_check_mark: | :x: |
| Image / Texture | :x: | :heavy_check_mark: |
| Image / Texture | :x: | :heavy_check_mark: |

Usage
-------
Expand Down Expand Up @@ -208,11 +208,14 @@ public class UsingCurrentUImGui : MonoBehaviour

Using URP
-------
- Add a `Render Im Gui Feature` render feature to the renderer asset. Assign it to the `render feature` field of the DearImGui component.
- Add a `Render Im Gui Feature` render feature to the renderer asset.
- Assign it to the `render feature` field of the DearImGui component.

Using HDRP
-------
You can't yet.
- When using the ``High Definition Render Pipeline``, add a custom render pass and select "DearImGuiPass" injected after post processing.
- Assign it to the `render feature` field of the DearImGui component.
- See **Known issues HDRP** for more info.

Using Built in
-------
Expand All @@ -225,6 +228,10 @@ Known issues
![crispy](https://user-images.githubusercontent.com/961971/119237759-e6bfc680-bb14-11eb-8118-b91babee6242.png)
**Solution** You should change your anti-aliasing from `FXAA` to `None` or `SMAA` or disable post processing. To do this, check your camera.

### HDRP
- Alpha blending is incorrect when using HDRP. Still need to investigate why, it seems like the closer to 50% alpha you get the more opaque an object appears.
- Procedural rendering is not yet supported on HDRP.

Credits
-------
Original repo https://github.com/realgamessoftware/dear-imgui-unity
Expand Down

0 comments on commit 02962e9

Please sign in to comment.