• 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.

Shadow flickering from 3d object.

jtanabodee

Resource contributor
Messages
3,924
Country
thailand
Hi,
I am not sure what is happening. I got the flickering shadow that cast from 3d object in the airport. I got this once in another project and I found that the surface of the airport is not even. But this project the ground is even. But the shadow of 3d object got from 3dsmax and MCX round world correction cause this problem. I am not sure what cause this.

The shadow for the high level flight. Looks fine, no problem at all.


The shadow from closer look near the ground. You can see that the shadow is flickering and ,upon close look to the ground, the shadow disappear.


I tried to flatten at different level but it did not help at all.
Thanks in advance for any comments.
 
Are there any custom ground polygons around? With the non-autogen tweak these can give such issues. But I don't see them in your picture.

You mention you used the earth curve correction. Is the problem gone if you don't apply that correction to the models?
 
I don't have custom ground poly there, it is on photoscenery.
I have tried the model without curvature correction and it is the same.
I also try other flattening to raise the ground to 21.4 meters but it does not help.
My model comprises of a lot of buildings and export together as a large area. Does that cause the problems?

There is something more. There is a tunnel in this airport and I need an underlay (fake) airport to make another ground for the tunnel. Is this the problem?
Here is the thread about how to make the tunnel. http://www.fsdeveloper.com/forum/threads/tunnel-under-taxiway.427049/page-2
I'm not sure if it is the way to do or it will complicate the other things.
 
Last edited:
Are all of those buildings one model? You need to place the buildings individually/ close ones grouped together.

If I have a .mdl of a selection of buildings/objects/cars over say 150m, the ground shadows do the same thing.

So I have had to export them and place them individually, and then open+re-save them with MCX to enable drawcall batching.
 
That's good point. I will try that.
I guess the earth curvature cause that problem. Since MCX correct only the model not the shadow. So if the objects spread quite far apart, this problem will happen.
 
I'm sure that's the issue. It is a pain! I'd like to have as few models as possible.

Arno, is there any way to check whether a model had drawcall batching enabled or not?
 
I have eliminate the shadow and use shadow from the edited satellite photo instead. The shadow is from render to texture the model in 3dsmax.
It looks nicer and less impact on fps. However it does not change with the time.
 
Arno, is there any way to check whether a model had drawcall batching enabled or not?

Yes, with the DrawCallMonitor tool you can check this.
 
So Arno, do you have any ideas to solve this? I have a big terminal and the shadow is flickering too.
 
Not really.

In one post you mention that without the earth correction the problem is still there and in another post you write that you suspect it is caused by the earth correction. That's a bit confusing.

Since the earth correction only moves some vertices, I doubt it can cause this issue. It is FSX that calculates the shadow from the model. That's done the same in both cases, only the geometry is slightly different.

Did you try without the extra flatten for your tunnel that you mentioned before?
 
Tic with big models you have to either turn the shadow off, as UK2000 does ; his entire airport building layout is a single model.

Or you have to export a few buildings at a time, about 100m across max.

I battled for a ages with this and couldn't find a solution.

I'm sure it has nothing to do with the flatten tunnel.
 
Sorry Arno that I made you confused.

Just only my thought, MCX correct the geometry for the curvature of the earth but it does nothing with the shadow. The shadow of the model seems to be a flat one across the curvature of the earth so it becomes flickering.

The tunnel has no effect to the shadow. I tried to turn if off but nothing happened.
 
Hi,

Ok, good to know the tunnel is not part of the problem.

I can't correct the shadow, since it's dynamically generated by the rendering engine. So sounds like you might have found a bug in the shadow generation for big objects.
 
It is painful indeed.
If I left shadow flickering like this, users will complaint. Some of them (most) are perfectionist.
 
The main terminal is very long, almost 800-1000 meters. If I slice this building into 100 meters each part, does it help with shadow flickering?
 
Single buildings seem to be okay, export just the terminal as a single model.

I don't slice any buildings, just have to export close ones together.
 
OK, I confirmed that speculation, Shaun.

I have a separated Petronas Station to a MDL and place the new one just next to the old one for comparison.
The first picture show them together. The new, separated MDL one is farther.


When I got close to the combined MDL one, the shadow flickering. In the picture the shadow start to disappear and flicker.

 
Wasn't a speculation Tic, I knew exactly what it was! Battled with this problem for ages myself. ;)
 
Sorry Shuan, I used the wrong word.
Just to confirm that what you said is true.
 
Back
Top