Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Skyboxes in dbpro

Author
Message
TheNeo
16
Years of Service
User Offline
Joined: 19th Apr 2010
Location:
Posted: 24th Apr 2010 14:49
i need help with loading a skybox into my game. can someone send some code?
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 24th Apr 2010 19:30
A skybox is usually just an object, loaded with the usual load object fileName$,objNumber command.

jeffhuys
20
Years of Service
User Offline
Joined: 24th May 2006
Location: No cheesy line here.
Posted: 24th Apr 2010 23:13
Or:

Make Object Cube 1, -1000
Texture Object 1, <skybox texture>



TheNeo
16
Years of Service
User Offline
Joined: 19th Apr 2010
Location:
Posted: 25th Apr 2010 14:43
Yeah, i guess that would work but how am i supposed to texture all sides of the skybox? ANd make it follow the player?

Login to post a reply

Server time is: 2026-07-26 04:28:11
Your offset time is: 2026-07-26 04:28:11