Page 1 of 1

love.graphics.newCubeimage

Posted: Tue Dec 03, 2019 2:58 pm
by DeadSystem
Hello
I have some problems to understand the use of the function
love.graphics.newCubeimage
I can not display the image "cubeimage" using a .dds or .png or .jpg image with an image format
+ y
-x + z + x -z
-y
does anyone know this function?
I can not find any documentation or examples. thank you very much for helping me

Re: love.graphics.newCubeimage

Posted: Sat Dec 07, 2019 6:56 am
by kicknbritt
Hello. I have no idea what the use of a cube image is, but I do know that you need a shader to render it:
(See here https://love2d.org/wiki/love.graphics.newCubeImage)
And Im pretty sure that it is used for 3d textures somehow, not in the 2d way you are trying to use it.

Re: love.graphics.newCubeimage

Posted: Sat Dec 07, 2019 11:35 am
by raidho36
CubeImage is for cubemaps, 3d textures are a different thing entirely (and there's no simple way to render them).