Babylon.js icon indicating copy to clipboard operation
Babylon.js copied to clipboard

Add support for non-multiview rendering with texture-array composition layers

Open rgerd opened this issue 3 years ago • 2 comments

This issue comes from https://github.com/BabylonJS/Babylon.js/pull/11828

We currently can't explicitly associate a RenderTargetTexture with a layer index in an underlying texture of type TEXTURE_2D_ARRAY. This is necessary to be able to render to specific eyes in composition layers initialized with textureType = 'texture-array'. Perhaps we could subclass RenderTargetTexture with a type that calls engine.bindFramebuffer with the layer associated with it--in the case of composition layers this would be the subImageIndex in the XRWebGLSubImage returned from XRWebGLBinding.getSubImage.

rgerd avatar Jan 25 '22 22:01 rgerd

@RaananW - can you assign the correct milestone?

thomlucc avatar Jan 27 '22 21:01 thomlucc

This issue has been automatically staled because it has been inactive for more than 14 days. Please update to "unstale".

github-actions[bot] avatar Mar 15 '24 00:03 github-actions[bot]