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 / Simple Skybox. How?

Author
Message
Ben Hartnett
15
Years of Service
User Offline
Joined: 16th Dec 2010
Location:
Posted: 18th Jul 2013 04:46
Hello,

How do I create a simple skybox? What is the code for something like that? Thank you. I am using a .bmp sky file.
Libervurto
20
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 18th Jul 2013 05:06 Edited at: 18th Jul 2013 05:07
If you create a box with negative size it will draw only the inside faces instead of the outside faces. You effectively invert the normals in a hacky way.
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 18th Jul 2013 10:55
Simple way..

Make object box
Texture object

This is my current project, check it out! [href]forum.thegamecreators.com/?m=forum_view&t=204576&b=8[/href]
This is my website, check it out! [href]http:\\www.TeamDefiant.co.uk[/href]

Login to post a reply

Server time is: 2026-07-07 02:39:55
Your offset time is: 2026-07-07 02:39:55