lambdacube-compiler icon indicating copy to clipboard operation
lambdacube-compiler copied to clipboard

Cubemaps and 3D textures

Open catchouli opened this issue 9 years ago • 2 comments

Hi there,

I'm using lambdacube-compiler and lambdacube-gl. Is there any support for cubemaps or 3d textures?

I'm looking to implement environment maps (which I'm currently doing in glsl) and possibly ray-marching in my application but as far as I can tell only 2D textures are supported.

Are there any workarounds for this? And are cubemaps and 3d textures likely to be supported any time soon?

I mostly just need to be able to upload cubemaps them my application and sample them in my shading phase.

Thank you cat

p.s. I've just started using lambdacube and it's really excellent. I'd love to do all my 3d graphics work this way if possible :)

catchouli avatar Jul 25 '16 18:07 catchouli

Hi, As a workaround for cubemaps you can sample six 2D textures manually. But there is no technical obstacle to support it, so I'll implement is soon. I'm glad that you found lambdacube useful. We are hungry for any feedback :)

csabahruska avatar Jul 27 '16 17:07 csabahruska

Thanks for the response :)

That's what I was thinking in regards to cubemaps. I can probably work around it for now.

I'll be eagerly awaiting any new features/versions to try out!

Thank you cat

catchouli avatar Jul 28 '16 15:07 catchouli