cnkblgn / Unity-Asset-URP-Fullscreen-Overlay-Shader

A simple fullscreen shader. Supports vignette, distortion and chromatic aberration.
MIT License
3 stars 0 forks source link

Missing FullScreenPassRenderer Feature #1

Closed strudgian closed 8 months ago

strudgian commented 8 months ago

The image below shows a missing render feature, can you advise on how I can either recreate or find it. Alternatively could you update the repo with this?

devenv_qXCM1LXPrU

cnkblgn commented 8 months ago

Are you using Universal Render Pipeline 14.0.9 or newer? It works fine on my end. This references FullScreenPassRendererFeature asset for enabling and disabling.

Screenshot (65)

strudgian commented 8 months ago

Hey! Thanks for responding. Yeah that's why I closed the issue as I derped out and tried to open this in a lower version of 2022.3. I have the fullscreenpassrendererfeature. However the textures apparently cannot be read. Any tips?

cnkblgn commented 8 months ago

Maybe the unity package or texture is corrupted. I don't know why. But you can use any texture you want. 1:1 ratio (512x512). Also, you can use this for other overlays like gas masks, blood splatters, etc.

strudgian commented 8 months ago

Working for me now thank you for the guidance! :) Have you ever had thoughts about implementing this in VR? I'm currently working on potentially making this work for either the left or right eye for an oculus quest 2

cnkblgn commented 8 months ago

Unfortunately :(, I do not have any VR experience. This shader uses the current screen texture (URP Sample Buffer) and manipulates its UV coordinates. Maybe you can grab left or right eye screen texture from Unity, after that, you can use its UV coordinates for the shader.