In many scenarios it is useful to bake environment maps on the fly, a task which the EnvironmentCamera class was created for. One current limitation is that only scenegraph nodes can be rendered, meaning that any screenspace effects or any effects that use SceneProcessors to render to the ViewPort cannot be used. This is a rather artificial limitation, as internally the EnvironmentCamera is performing rendering with a set of 6 ViewPorts.
This commit allows users of the EnvironmentCamera class access to the ViewPort array, allowing (among other things) using SceneProcessors in snapshots.
This commit is tracked in PR #1306
In many scenarios it is useful to bake environment maps on the fly, a task which the EnvironmentCamera class was created for. One current limitation is that only scenegraph nodes can be rendered, meaning that any screenspace effects or any effects that use SceneProcessors to render to the ViewPort cannot be used. This is a rather artificial limitation, as internally the EnvironmentCamera is performing rendering with a set of 6 ViewPorts.
This commit allows users of the EnvironmentCamera class access to the ViewPort array, allowing (among other things) using SceneProcessors in snapshots.
This commit is tracked in PR #1306