Forum Discussion
AbdulVR
11 years agoHonored Guest
Distortion mesh gaps
Hello, I was wondering what kind of voodoo I need to apply to the distortion mesh coordinates to get it to fill the entire visible area. This is what I have so far: http://i61.tinypic.com/350a104.p...
kojack
11 years agoMVP
I've been planning on trying out the same technique, but with the stencil buffer instead of the depth buffer.
At 1080p for the pre-distortion buffer it might not have much of a saving, but at the higher recommended res the saving would increase.
The shape used as the blocking volume isn't based on the positions of the distortion mesh. Instead you'd use the uv coords of the distortion mesh (probably the blue channel, since iirc it stretches further due to chromatic aberration) as positions of the blocking mesh. That should find the region of the pre-distortion eye buffer that is actually visible post distortion.
At 1080p for the pre-distortion buffer it might not have much of a saving, but at the higher recommended res the saving would increase.
The shape used as the blocking volume isn't based on the positions of the distortion mesh. Instead you'd use the uv coords of the distortion mesh (probably the blue channel, since iirc it stretches further due to chromatic aberration) as positions of the blocking mesh. That should find the region of the pre-distortion eye buffer that is actually visible post distortion.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 months ago
- 10 months ago
- 6 months ago
- 5 months ago