Game Development Community

Issues with ScatterSky

by Kyrah Abattoir · in Torque 3D Beginner · 09/23/2012 (10:13 am) · 10 replies

I've been looking in the mission file and i do not see how to change the scattersky "cubemap"

Am i right to assume it's dynamically generated?

If it is, is there any way to get a full sky sphere and not have it cut near the horizon?

Otherwise, where is it located?

#1
09/23/2012 (3:21 pm)
Ops wrong thread... Sorry.
#2
09/24/2012 (1:54 pm)
Yeah i did the mountain trick for my "showcase" screen. But on some vistas, it's just barely helping.

Coloring the canvas is ok if you don't use a day/night cycle but it barely work... and it's way too "sharp" for passing as an infinite terrain...

Is there no way to get the scattersky to extend the lower edge pixels all the way down?
#3
09/24/2012 (3:28 pm)
Sadly not as far as I know for now... You could make your terrain in a dale so the surrounding mountain cover and then make then unreachable by making them too steep :o)

I tried to raise the whole terrain(compared to the scattersky) but that did not work out. I have even tried the trick by surround the terrain by bigger ocean so that it looks like ocean in the horizon(did not work as the size of my terrain is 4096x4096 already). The best option is to raise the terrain on the edges of the area and them make it unreachable. Trees with bounding boxes instead of visible mesh perhaps? Make the character lose health when leaving mission area etc.

Of course the ordinary skybox map thing will solve the issue but then scatterbox with its features can be used :o/

Oh I have really been working on this annoying issue for some time now :o)

I will watch this thread so if you find some good solution that I have not seen yet then please share it :o)


Best,

Dwarf
#4
09/24/2012 (4:45 pm)
I will try, personally i am very curious as to why the scattersky stops abruptly like this and why no one at GG thought that pretty much "anyone" would prefer the thing to generate a "full" skybox.

I'm no code guru but i will have a look at the source and see what's going on.
#5
09/24/2012 (7:34 pm)
are you talking about this?
http://www.garagegames.com/community/resources/view/20788
#6
09/24/2012 (10:36 pm)
Scattersky is not a full sphere for performance reasons.

If none of the tricks to hide the horizon artifact work for your particular needs you can use the Scattersky Z-offset hack Resource.

Or use a standard Skybox.
#7
09/25/2012 (3:51 am)
Thanks Paul :o)
#8
09/25/2012 (11:13 am)
I see, i guess that makes sense... Is there a way to get the far clip for to ride "over" the scattersky edges?
#9
09/25/2012 (12:27 pm)
Even if the ScatterSky were a sphere, it wouldn't be useful as it would be completely black below the horizon line (it would be night time on that side of the "planet").
#10
09/25/2012 (12:37 pm)
Good point Ross.