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 / Water (the source of life)

Author
Message
Thebeely
20
Years of Service
User Offline
Joined: 4th May 2005
Location: Croatia
Posted: 11th Jun 2005 00:37
I've made water with plains and I don't know how to make fog or something so when you dive you see blue or something. Please help!!!

I'm not really smart...
The Big Babou
22
Years of Service
User Offline
Joined: 10th Feb 2003
Location: Cyberspace
Posted: 11th Jun 2005 00:58
I'd make a sprite, that covers the whole screen. For a blue 'fog', the sprite has to be blue. Play a little with sprite transparency to find the best result.

... they call it a royale with cheese ...
RiiDii
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 11th Jun 2005 00:59 Edited at: 11th Jun 2005 01:01
Or do the same with a plain and lock it on to the screen. Set Alpha Mapping to taste, and there you have it.

Edit: To be safe, turn the plain's z-depth off so it's always in front of everything else. Or, if you want the fog to have a "distance" effect, you could set it further back with the z-depth on.

"Droids don't rip your arms off when they lose." -H. Solo
REALITY II
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 11th Jun 2005 01:09
You can easily change whether the fog is on or off, as well as the colour - a short range blue coloured fog would be fine for an underwater effect. Just play around with the fog commands until you know their secrets.


Van-B

John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 11th Jun 2005 01:27 Edited at: 11th Jun 2005 01:28


Dont forget to color the fog / set its distance.


Click here to join our forums and get updates on game progress sooner!
Sergey K
21
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 12th Jun 2005 06:15 Edited at: 12th Jun 2005 06:15
u can control the distance of fog either

does 1 + 1 is 11?!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 13th Jun 2005 03:16
Quote: "u can control the distance of fog either"

yes we know - RPGamer already said:
Quote: "Dont forget to color the fog / set its distance."


For some reason the fog in DBPro seems to change when the camera angle changes. Anyone else experience this?

Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 13th Jun 2005 06:17
i am, it's reminding me of Alien: Resurrection for the playstation 1

Raven
20
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 13th Jun 2005 06:28
I'd say Turok; I definately love those old FPS games on the N64 with the close fog.

.Andrew, can't that I have; but it's been a while since I've used the built-in fog. Will check it out in a little while.

Login to post a reply

Server time is: 2025-06-02 13:55:31
Your offset time is: 2025-06-02 13:55:31