I have a giant sphere for sky; how can I make it so that this sphere isn't affected by fog, so that even though things fade out as they are further away, the sky is always perfectly visible?
Create a mesh not affected by fog?
BlitzMax Modules Forums/MiniB3D/Create a mesh not affected by fog? EntityFX entity,fx
Parameters:
entity - entity handle
fx -
0: nothing (default)
1: full-bright
2: use vertex colors instead of brush color
4: flatshaded
8: disable fog
16: disable backface culling
32: force alpha-blending
You can use flag 8 to disable fog on your skysphere.
Parameters:
entity - entity handle
fx -
0: nothing (default)
1: full-bright
2: use vertex colors instead of brush color
4: flatshaded
8: disable fog
16: disable backface culling
32: force alpha-blending
You can use flag 8 to disable fog on your skysphere.
Hmm, seems to work, except now I can't see portions of it because of the cut-off distance. How do I fix that?
What about a small sphere or cube (just a few meters) around
the camera, flip it and set Entityorder to 999?
Then the sphere is drawn first (behind) each other.
And you avoid the blur effect because no need to scale it to cosmic dimensions.
Look here:
http://blitzbasic.com/Community/posts.php?topic=65535#733659
the camera, flip it and set Entityorder to 999?
Then the sphere is drawn first (behind) each other.
And you avoid the blur effect because no need to scale it to cosmic dimensions.
Look here:
http://blitzbasic.com/Community/posts.php?topic=65535#733659