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

Potential OIT optimization

Open lexaknyazev opened this issue 3 years ago • 2 comments

Consider using OES_draw_buffers_indexed extension on supported platforms to reduce the number of render passes.

lexaknyazev avatar Jun 02 '22 21:06 lexaknyazev

Sounds like a pretty cool extension indeed :-)

@CraigFeldspar do you think it would be simple to add ? (assuming support in the engine)

@Popov72 do you know if the same is available in WebGPU ?

sebavan avatar Jun 02 '22 22:06 sebavan

Yes in WebGPU you can have these settings per color target:

https://github.com/BabylonJS/Babylon.js/blob/master/packages/dev/core/src/LibDeclarations/webgpu.d.ts#L519-L528

Popov72 avatar Jun 03 '22 08:06 Popov72

See BabylonJS/ThePirateCove#792 which would require the support of the same extension.

Popov72 avatar Jan 09 '24 19:01 Popov72