google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
https://google.github.io/filament/
Apache License 2.0
17.59k stars 1.86k forks source link

Connect multiview components together #7671

Closed z3moon closed 5 months ago

z3moon commented 5 months ago

Plumb through multiview configurations to the pipeline so that the engine draws scenes using multiview extension. Users need to prepare shaders compiled with the multiview param and set the stereoscopicType flag to MULTIVIEW in the Engine::Config to enable multiview feature.

In this change, postprocessings for multiview are not yet supported. So we all disable them until they're supported.

The debug option combineMultiviewImages combines layers as one image, which allows us to check the final result.