hSkyBox=TBGL_CreateSkyBox(texture1$,texture2$,texture3$,texture4$,texture5$,texture6$)
hSkyBox=TBGL_CreateSkyBox(one_texture_with_six_quads$)
TBGL_RenderSkyBox(hSkyBox, xSize, ySize, zSize)
or as SCENE entity
TBGL_CreateSkyBox(hScene, texture1$,texture2$,texture3$,texture4$,texture5$,texture6$)
TBGL_CreateSkyBox(hScene, one_texture_with_six_quads$)
![]()
(Sorry about my bad English.)
Thanks,
somebody requested it in the past and I completely forgot this feature.
I will target it for TB 2.x betas.
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB