I am creating an app in which the view inside a VR headset should look incorrectly distorted. For this reason, I would like to apply a lens distortion effect on top of the one that is built in to make the view look correct. I found the lens distortion effect in the post processing stack, but it is disabled in XR (this makes sense assuming you want the lens distortion to be correct, but I don’t). Does anyone know of another tool that works in VR?
following
following too
You could probalby hack a version that works for VR in a few moments if you have any experience with post processing effects. Just extract the deformation code from the post processing stack sources. If I remember correctly, distortion code is in Distort.hlsl file or partially in the Uber.shader file. Anyway I’m not sure if this would create anything meaningful but you could easily make such effect.