Posted: 11th Jun 2007 23:41
Just thought I'd share this.

In the image below, all I used for the Bloom type effect on the edges was fog, and a near-white backdrop (ie: an inverted sphere).



Sorry if this is in the wrong forum. It just seemed like a neat thing.
Posted: 12th Jun 2007 3:08
that's awsome, how'd you do it? (can we see the code?, or was it just photoshopped?)
Posted: 12th Jun 2007 12:28
I did it in Dark Basic Pro, using fog and an inverted sphere.
Here's the code.
+ Code Snippet
set camera range 0,1,21000
fog on
fog distance 18000
fog color rgb(255,230,138)

make object sphere 4,-35000
set ambient light 90
set object fog 4,0
color object 4,rgb(255,231,145)

Object 4 is the inverted sphere, which I coloured near-white, along with fairly bright fog, so that the white seems to 'bleed' slightly into the terrain. Hope that's clear.
Posted: 12th Jun 2007 13:21
Interesting idea. Food for thought.
Posted: 12th Jun 2007 16:06
You can also use a black fog on an advance terrain and alter it's range to simulate day/night cycles, just thought see as we're sharing tips.
Posted: 12th Jun 2007 17:34
I was wondering how I could do night and day without using the ambient light. Thanks, GatorHex.
I tried colouring the fog white, but I needed to increase the distance of the fog and the terrain looked a bit pale. I guess it has to be a lighter version of the average colour in the map.
Posted: 14th Jun 2007 1:28
I gotta hand it to you Twu Kai, that's a great effect for a very low fps price. Maybe we need to create a "Neat No Shader Effects" thread
Posted: 14th Jun 2007 6:39
Ahh, my eyes! I've been blinded by a neat no-shader bloom type effect.

Good job!
Posted: 14th Jun 2007 14:26
Very nice effect, but I don't think that it'll change the appereance of near objects, but just the horizon.. right?
Posted: 14th Jun 2007 19:10
Well, I think if you're in a map that won't have objects far away, such as a small fort etcetera, you could set the fog distance less, so it would still give that effect (you could set the skysphere/box to use no fog so you could still see the sky). I guess you'd need to find another way to do it with close objects when you need a big map. But the nice thing about only distant objects having the 'Bloom' is that when you get near them, say, a hill, the fog will start to draw back, a bit like hiding from the sun.
Glad people like it! A 'Neat No Shader Effects' thread would be fun, Omen. It'd be nice to see how one could make look-alike effects.
Posted: 14th Jun 2007 19:17
So, why don't start such a thread?

We could start with your great bloom-effect here and some simple things like.. scrolling textures for water, or something? xD
Probably there were some other coders with similar effects, who could post them there.. I think such a thread would be a good idea.
Posted: 14th Jun 2007 19:43
Okay, I will do. You should see it in a minute...