Hey, I would like to sert a low res effect on my unity app running on the magic leap 2 and toggle it on runtime. I tried to use render textures but couldn’t quite get it. Has anybody tried it before and can share their solution?
Unity Editor version: 2022.3.16f1
ML2 OS version:1.11.0
Unity SDK version:1.12.1
Host OS: Windows
Are you trying to actually decrease the resolution of the final image? You should be able to adjust it in the URP render scale settings. You may need to enable post processing in the render pipeline and enabled dynamic scale on the camera.
Hey @kbabilinski
Thanks for your replay. My goal is to apply a filter (similiar to a post process volume) on the main camera somehow to make everything that renders in the scene to look low res. I do it to try and simulate lower resolutions on the glasses. The video attached gives a good sensation of what I’m trying to achieve (It didn’t properly work on the glasses tough). https://www.youtube.com/watch?v=WKTZgf7ZDGs
Unfortunately, creating a custom post processing effect that works in XR is outside of the scope of this particular form as it is not specific to Magic Leap. You may want to reach out on the official Unity Discussions and forums for help on how to implement something like this.
I also recommend looking at simply adjusting the Render Scale or XRSettings.renderViewportScale
with a dynamic resolution enabled on the Main Camera