My current setup can be found here

http://www.phy.duke.edu/~trenk/files/terrain-haze-shader24102011.tgz

I've now tested a few more things: There are still some issues with ocean
tiles left - I *think* throwing in more vertices will fix this, or
Emilian's hack of testing point altitude against layer altitude rather
than doing trigonometry.

Most of the changes are actually to the skydome shader which had wrong
assumptions about what the terrain shader does.

Seams are still rather obvious at sunrise/sunset *if* the terminator
position is set appropriately (that's currently done via a Nasal hack too
I figure out what the exact function should be)- I still have a mismatch
between terrain and shader geometry and need to dig into this again. But I
want to spend some more time on figuring out sunrise/sunset anyway.

I've also transferred some things into the vertex shaders - I have the
impression that is a bit faster.

Cheers,

* Thorsten



------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to