For sampler with reflected image, set in shader AdressU/V/W type to Clamp, to fix artifact on screen edges.
And what about heightmaps from Photoshop, Clouds filter, they looks much better. Or you can use some editors for generating realistic mountain heightmaps..
Also you can add refraction for water, and under water fog. For future, Volumetric fog for underwater.
Hey thanks for the tip, I have now done that and it removed the edge artifacts. I could implements a heightmap from image method, but now the terrain is supposed to be modified in realtime, possible in editors in various games that will use this, so static images from program such as photoshop is not something I have planned just now. The water has some sort of refraction based on the angle of the camera. Yeah volumetric fog for underwater is a good idea.
Hey, thanks. The source code is a bit messy right now, with water and terrain code being in the same library. It should be cleaned up before I release it, so it will not be right away :-)
Open-Source? Becaus i'm working on a school project with XNA, and want a sort of easy flight sim. but the terrain is a pain in the *ss :D
Bertyball 11 months ago
For sampler with reflected image, set in shader AdressU/V/W type to Clamp, to fix artifact on screen edges.
And what about heightmaps from Photoshop, Clouds filter, they looks much better. Or you can use some editors for generating realistic mountain heightmaps..
Also you can add refraction for water, and under water fog. For future, Volumetric fog for underwater.
Zuyko 2 years ago
Hey thanks for the tip, I have now done that and it removed the edge artifacts. I could implements a heightmap from image method, but now the terrain is supposed to be modified in realtime, possible in editors in various games that will use this, so static images from program such as photoshop is not something I have planned just now. The water has some sort of refraction based on the angle of the camera. Yeah volumetric fog for underwater is a good idea.
jeppen82DK 2 years ago
You`ve done a very good job with this, will this be getting released?
Ammbi0 2 years ago
Hey, thanks. The source code is a bit messy right now, with water and terrain code being in the same library. It should be cleaned up before I release it, so it will not be right away :-)
jeppen82DK 2 years ago
Very nice .... Keep up the good work!
YaKoSTaR 2 years ago
Nice !!
runemaxx 2 years ago