Game Development Community

Help with Skybox

by Stephen · in Torque Game Engine · 10/20/2005 (3:07 pm) · 7 replies

I have searched the forums and didn't find anything that I was looking for. I have Sky texture that is 1024x512 and would like to use it in TGE. I have tried to resize the texture down to 256x256 but by making it smaller, it looses the detail of the texture. So is there a way to make TGE use the texture at 1024x512?

Thanks

#1
10/20/2005 (3:22 pm)
You are trying to map a skybox with one texture? Given those dimensions, that sounds like a sphere-mapped texture, not a cube-map texture.
#2
10/20/2005 (3:37 pm)
Yeah, I'm using one texture. Is this resource what I'm looking for?
#3
10/20/2005 (3:47 pm)
You could use that (seeing as I wrote it). Note that there is/will be a 1px distortion across one of the meridians on teh sphere, I haven't solved that.
#4
10/20/2005 (3:51 pm)
Oh okay, well I have just added and now recompiling it. Btw I'm using LP (1.3.5), so will it compile?
#5
10/20/2005 (3:51 pm)
I have no idea. I built it onto 1.2, and have since moved onto TSE.
#6
10/20/2005 (3:55 pm)
I guess we will see what happens, so far its compiling fine.
#7
10/20/2005 (4:01 pm)
It compiled just fine. So now for anyone who wants to use the SkyShere resource with LP 1.3.5 it works. Well that's not what I'm really looking for, I just would like to change TGE so if can use 512x512 textures for the skybox instead on 256x256.