Good method to create Cube Map Texture
Posted: Fri Jun 21, 2013 2:51 pm
I would like to see in the new version made possible such as the following:
And to this texture is not updated automatically as it is now. Also no need to compare with the #Entity (or as a second procedure if you do not want to replace the old)
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?
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?