Load cubemap from image, multiple image cubemap layouts supported
img = raylib.LoadImage("skybox_panorama.png") cubemap = raylib.LoadTextureCubemap(img, raylib.CUBEMAP_LAYOUT_AUTO_DETECT) if raylib.IsTextureValid(cubemap) then print "Cubemap loaded" raylib.UnloadTexture cubemap end if raylib.UnloadImage img
There was an error while loading. Please reload this page.