» Fri May 27, 2011 9:45 pm
http://www.4shared.com/file/128739877/4acfaa77/vt_godrays_v01a.html
screenshots
http://i51.photobucket.com/albums/f386/vtastek/morrowind/Morrowind2009/GodRays/MGE-godraystest5.jpg
http://i51.photobucket.com/albums/f386/vtastek/morrowind/Morrowind2009/GodRays/MGE-godraystest-4.jpg
http://i51.photobucket.com/albums/f386/vtastek/morrowind/Morrowind2009/GodRays/MGE-godraystest1.jpg
http://i51.photobucket.com/albums/f386/vtastek/morrowind/Morrowind2009/GodRays/MGE-godraystest3.jpg
http://i51.photobucket.com/albums/f386/vtastek/morrowind/Morrowind2009/GodRays/MGE-godraystest6.jpg
http://i51.photobucket.com/albums/f386/vtastek/morrowind/Morrowind2009/GodRays/MGE-godraystest7.jpg
http://i51.photobucket.com/albums/f386/vtastek/morrowind/Morrowind2009/GodRays/MGE-godraystest9.jpg
http://i51.photobucket.com/albums/f386/vtastek/morrowind/Morrowind2009/GodRays/MGE-underwatertest2.jpg
Thanks to knu, peachykeen and phal. For ideas, help(codes) and making this possible in the first place. And http://www.youtube.com/user/starvald for his excellent tutorial.
This has lot's of problems,
More accurate sun position,
waterplane in depth buffer is incomplete(this maybe fixed in phal's latest dll),
todo
brightpass bind to timeofday,
will you clean the code?,
excessive use of shader flags for underwater, interior differences.
PS. Watch for a lightning. :whisper:
Edit: needs depth enabled mge,
use with bloom shaders around the bottom of shader lists,
and
PS 3.0 warning.