Code: Select all
tr_1 = CreateRenderTexture(#PB_Any, CameraID (camera), W, H, #PB_Texture_ManualUpdate)
tr_2 = CreateRenderTexture(#PB_Any, CameraID (camera), W, H, #PB_Texture_ManualUpdate)
[...]
tr_6 = CreateRenderTexture(#PB_Any, CameraID (camera), W, H, #PB_Texture_ManualUpdate)
Result = CreateCubeMapTexture(#Texture, TextureName$, tr_1, tr_2, tr_3, tr_4, tr_5, tr_6)
P.S. Or does anyone know how to create a cube texture so that it was possible to render when I want to, like RenderTexture or how to use the RenderTextures in cube map?