Skip to main content
Inspiring
October 2, 2015

Create multilayer example - ovr_CreateSwapTexture for each?

Hi,

my engine provides two textures for each target buffer each. I could combine them, but want to render the task fully to the oculus rift runtime. Therefore I need to create a layer setup for multiple layers, as mentioned in the documentation. But I can not find a sample creating a multilayer setup? Does anybody know an example for this?

    1 reply

    Inspiring
    October 2, 2015
    Think I got It. Just call ovr_CreateSwapTexture twice and create a set for each. Then assign them to the single layer one uses anyway an - thats it. Not even extended layering needed :)