Original Post
๐ Locked
SkyBox...
Advertisement
This is probably the only information you need:
A skybox is a cube which encloses the player exactly within the center of it. Everytime the player moves, the skybox moves with him. The textures on each side of the cube must have a FOV of 90 degrees. The skybox can be any size you want, and no, it doesnt have enclose all of your entire ''world'', it can be 0.1 wide & 0.1 tall.
Download some skybox textures, (search for them using google.com : ''free skybox texture'') then simply turn off depth testing, translate to your players position, draw your cube, and finally turn depth testing back on. You should do this before drawing any other objects.
Sorry, dont know of any sites which could give anymore information than i did just there... Maybe a quick search on your favourite engine could help.
--wav
A skybox is a cube which encloses the player exactly within the center of it. Everytime the player moves, the skybox moves with him. The textures on each side of the cube must have a FOV of 90 degrees. The skybox can be any size you want, and no, it doesnt have enclose all of your entire ''world'', it can be 0.1 wide & 0.1 tall.
Download some skybox textures, (search for them using google.com : ''free skybox texture'') then simply turn off depth testing, translate to your players position, draw your cube, and finally turn depth testing back on. You should do this before drawing any other objects.
Sorry, dont know of any sites which could give anymore information than i did just there... Maybe a quick search on your favourite engine could help.
--wav
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement