-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working API support #5
Comments
I'm currently looking at tighter integration with the Editor. I think I might build on top of the official Unity Plugin instead to leverage some of the existing and upcoming features there. |
Just thinking some more about this. BlockadeLabs API now supports generating depth maps which simplifies things. With regard to rendering depth - have you thought about doing something at the fragment shader level instead of displacing vertices? I presume that's what you're doing but my memory is hazy as it's a couple of months since I looked at this project. I think Facebook uses parallax occlusion mapping or similar for their 3D photos and I've always found their rendering rather effective. I've not found anyone using a similar technique for 360 panoramas. I can't think of a reason why it wouldn't work. Would be it more or less taxing on hardware than using a displacement shader? I'm particularly interested in mobile XR myself. |
I hadn't considered it and I'm indeed just displacing vertices at the moment. Some thoughts on performance:
My gut feeling is: Not worth it for performance reasons alone. Unless vertex stage is really your bottleneck, then go for it. Another somewhat related idea I'll throw in: I've thought about using the depth to render the skybox to a high res stereo cubemap and render that using a compositor layer / OVROverlay. Probably less parallax than either of the two other approaches, but curious if there's a quality gain to be had for this type of content. |
I must admit I don't have the time or inclination to attempt to implement the fragment shader idea. Your gut feeling combined with the empirical evidence (why is nobody else doing it?) - and the fact that I have a TODO list as long as a very long arm is enough to persuade me to spend my time elsewhere. Your stereo cubemap idea is interesting. I've just added custom skybox support into Open Brush and I've added support for equirectangular stereo over/under as a format. The effectiveness is very dependent on good source input but it's cheap and impressive when it works well. |
This repo is up to date with the current API: https://github.com/CatDarkGame/AISkyboxGenerator
The text was updated successfully, but these errors were encountered: