• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Watermask Help

Messages
41
Country
us-alaska
The water won't blend with FSX water.
As you can see here:
31V5e.jpg



Here's what my water mask looks like (I know it's sloppy, I was just testing it out)
32rd6.jpg


If anyone could tell me why this isn't blending with the default FSX water and how to fix it, that'd be much appreciated! :)

Thanks!
 
LandWaterMask puts water in, but the texture of the water is still determined by the photo scenery. So, if the water is brown and muddy in the imagery, the water will be like it in FSX. It's actually really good.

You have to use a blend mask also basically.

Blend it out over quite a distance... so the default and photoscenery water textures merge into one another.

Channel_BlendMask =
 
It's better to be using a land/water mask in combination with a blend mask. The land/water mask will make it so you can have some photoreal water, which will look nice, in addition to covering that tiny bit of the landclass nearby the shoreline. The blend mask will allow you to make the change from photoreal to default less abrupt.
 
Yeah, he's right.. You have to use the two together.

use the blendMask to blend the default and textured water over a distance.

You have an On or Off blend mask here. And you can see some of the default shoreline coming through. You don't want that.

I've attached some demonstration images.

The one with the gradient is the blend (it's the wrong way around though mind!). The one on the right, with a defined edge, is the landwatermask.

So you have a defined edge for the water on the photoreal. And the whole thing is blended.

You don't have to reference the blend channel in the landwatermask channel.
 

Attachments

  • blendmask.jpg
    blendmask.jpg
    5 KB · Views: 593
  • waterbldn.jpg
    waterbldn.jpg
    4.9 KB · Views: 580
Last edited:
[Source]
Type = MultiSource
NumberOfSources = 5

[Source1]
Type = GeoTIFF
SourceDir = "C:\Documents and Settings\Shaun\Desktop\SCENERY\stehekin"
SourceFile = "664_quarter_wgs84_geo.Tif"
Layer = Imagery
Channel_LandWaterMask = 4.0
Channel_BlendMask = 5.0
Variation = April, May, June, July, August, September, October
NullValue = 0,251,0

[Source2]
Type = GeoTIFF
SourceDir = "C:\Documents and Settings\Shaun\Desktop\SCENERY\stehekin"
SourceFile = "664_quarter_wgs84_geo_WI.Tif"
Layer = Imagery
Channel_LandWaterMask = 4.0
Channel_BlendMask = 5.0
Variation = November, December, January, February, March
NullValue = 0,251,0

[Source3]
Type = GeoTIFF
SourceDir = "C:\Documents and Settings\Shaun\Desktop\SCENERY\stehekin"
SourceFile = "664_quarter_wgs84_geo_lm.Tif"
Layer = Imagery
Variation = Night
Channel_LandWaterMask = 4.0
Channel_BlendMask = 5.0
NullValue = 0,251,0

[Source4]
Type = GeoTIFF
SourceDir = "C:\Documents and Settings\Shaun\Desktop\SCENERY\stehekin"
SourceFile = "664_quarter_wgs84_geo_blend.Tif"
Layer = Imagery
NullValue = 0,251,0

[Source5]
Type = GeoTIFF
SourceDir = "C:\Documents and Settings\Shaun\Desktop\SCENERY\stehekin"
SourceFile = "664_quarter_wgs84_geo_blendall.Tif"
Layer = Imagery
NullValue = 0,251,0

[Destination]
DestDir = "C:\Documents and Settings\Shaun\Desktop\SCENERY\stehekin"
DestBaseFileName = "Geo664"
DestFileType = BGL
LOD = Auto
 
I got the blend mask and watermask working very nicely together, the only issue is when I try to exclude a region, it shows up red.
38uMJ.jpg
 
Hello:

Would you please tell other readers what resulted in the undesired RED area, as IMHO, we still have a need to build the knowledge base on that anomaly, since it can happen with either of a 'few' known workflows (usually errors in methodology) ? :o


I'm not sure that we have yet logged all the possible ways in which these "RED areas" can occur when working with raster masks and INF file parameters ...for input along with aerial imagery source files to be processed via FSX SDK Resample. :scratchch


So it might be helpful for others here to know what caused this anomaly in your (incorrect) workflow ...prior to establishing the final (correct) workflow. ;)


Thanks for helping to build a FS Developer knowledge base of "Tips and Traps" which some might wish to refer to here ...when learning to make properly blended custom photo-real land class scenery. :)

GaryGB
 
GaryGB, This is kind of hard to explain, but I'll try my best. Basically I cut out my photoreal scenery to the shape I wanted instead of using a blendmask to do it. So long story short, DO NOT cut out areas on your original photoreal scenery file, use the blendmask to cut out regions. If you have any more questions, let me know.

Here's what it looks like now:

38LHt.jpg

38LKz.jpg
 
Last edited:
The red areas can be gotten rid of by assigning the RGB as the null value. but it's effectively the same as a channel_blendmask. If you have re-projected geotiffs you'll have a border you want to be rid of in this fashion.

It's looking really good! So you cut it out with a blend mask? Are you still using landwatermark on the bit of sea near the shore. You need to use that too I think.
 
Back
Top