love.graphics.newCubeimage

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
DeadSystem
Prole
Posts: 1
Joined: Wed Jul 31, 2019 4:33 pm

love.graphics.newCubeimage

Post 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
User avatar
kicknbritt
Citizen
Posts: 96
Joined: Sat May 30, 2015 2:15 am
Location: Chicago, IL/Anchorage,AK

Re: love.graphics.newCubeimage

Post 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.
"I AM THE ARBITER!!!" *Pulls out Energy sword and kills everything*
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: love.graphics.newCubeimage

Post by raidho36 »

CubeImage is for cubemaps, 3d textures are a different thing entirely (and there's no simple way to render them).
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 52 guests