Daytime Shadows at Night

This is the Forum to discuss the use of SBuilderX (version 3.10 and above). For previous versions of SBuilder please use the "SBuilder for Flight Simulator FS2004" forum.
Post Reply
Dave Torkington
Posts: 6
Joined: Fri Sep 23, 2011 7:17 pm

Daytime Shadows at Night

Post by Dave Torkington » Thu Feb 26, 2015 12:58 pm

I've successfully created a 'Day' and 'Night' photoreal with .TIFF blend maps but I have a problem.

On the 'Day' .bmp I made shadows under some static aircraft / gate guards which display fine during the day.

For the 'Night' .bmp I simply removed the shadows, but they still show at Night, Dawn and Dusk... It's as though the 'Day' photoreal is still showing through at night somehow.

I know the Night photoreal is displaying ok because I added some spotlight / streetlight 'splashes' to give the impression of night lighting and these show just fine. It's just that the shadows under the aircraft are still there at night!

Any ideas of a solution?

Regards, Dave.

Here's my .inf file data:

[Source]
Type = MultiSource
NumberOfSources = 6

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Deci1.BMP"
Variation = Day
Channel_BlendMask = 3.0
ulyMap = 39.3704024578717
ulxMap = 8.96003723144531
xDim = 2.68220901489373E-06
yDim = 2.07400862702508E-06

[Source2]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Deci1_LM.BMP"
Variation = Night
Channel_BlendMask = 3.0
ulyMap = 39.3704024578717
ulxMap = 8.96003723144531
xDim = 2.68220901489373E-06
yDim = 2.07400862702508E-06

[Source3]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "Deci1_B.TIF"
SamplingMethod = Gaussian
ulyMap = 39.3704024578717
ulxMap = 8.96003723144531
xDim = 2.68220901489373E-06
yDim = 2.07400862702508E-06

[Source4]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Deci2.BMP"
Variation = Day
Channel_BlendMask = 6.0
ulyMap = 39.3518213176172
ulxMap = 8.94493103027343
xDim = 2.68220901489289E-06
yDim = 2.07429232207688E-06

[Source5]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Deci2_LM.BMP"
Variation = Night
Channel_BlendMask = 6.0
ulyMap = 39.3518213176172
ulxMap = 8.94493103027343
xDim = 2.68220901489289E-06
yDim = 2.07429232207688E-06

[Source6]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "Deci2_B.TIF"
SamplingMethod = Gaussian
ulyMap = 39.3518213176172
ulxMap = 8.94493103027343
xDim = 2.68220901489289E-06
yDim = 2.07429232207688E-06


[Destination]
DestDir = "."
DestBaseFileName = "DeciPhotoreal"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85
MaxAutoLOD = 16

User avatar
luisfeliztirado
Posts: 436
Joined: Sun May 15, 2005 9:15 am
Location: Santo Domingo

Re: Daytime Shadows at Night

Post by luisfeliztirado » Thu Feb 26, 2015 11:38 pm

Hello Dave,

Interesting situation. Could you show some screenshots? Just curious to see this problem. :lol:

No idea what is going on, but do you have 2 Day Maps and 2 Night Maps in your scenery?

Best regards.
Luis

Dave Torkington
Posts: 6
Joined: Fri Sep 23, 2011 7:17 pm

Re: Daytime Shadows at Night

Post by Dave Torkington » Sat Feb 28, 2015 9:40 am

Hi Luis,

Thanks for your reply. Here's the Day / Night shadows:

ImageImage

I double checked the 'Night' .bmp and I can confirm there's definitely no shadow under the aircraft.

Yes, I have 2 Day Maps and Two Night Maps.

It would be very good to have a solution that removes the shadow at night but it's not a complete 'stopper' to releasing the scenery...

Best regards,

Dave.

User avatar
luisfeliztirado
Posts: 436
Joined: Sun May 15, 2005 9:15 am
Location: Santo Domingo

Re: Daytime Shadows at Night

Post by luisfeliztirado » Sat Feb 28, 2015 10:24 am

Looks beautiful - great work!

No idea why you are getting that shadow at night, unless Resample is, in fact, applying your Light Map to the Day Map when creating the Night variant. If so, then you can either live with it or remove the shadows in the Day Map to avoid the problem at night. But, what a shame that would be since the shadow looks great.

On the other hand, you do have that area illuminated at night and lamps would cast a shadow below the airplane, so this is very realistic.

Best regards.
Luis

Dave Torkington
Posts: 6
Joined: Fri Sep 23, 2011 7:17 pm

Re: Daytime Shadows at Night

Post by Dave Torkington » Sat Feb 28, 2015 2:37 pm

Thank you Luis, very kind indeed!

I agree with your theory about the Resample somehow applying the 'Day' map. Anyhow, I like the shadow illusion too much to loose it now!

In fact I had lightened the shadow by 50% or so to try and minimize the impression at night. I like your explanation of the spot lights casting a shadow too ;-)

Regards,

Dave.

Post Reply