Open hbeni opened 2 years ago
that`s new behavior and not intended. Probably a graphic glitch some where in the hardcode.
Ok, I think I remember others having similar problems and it’s been worked on. There was some traffic in the forum and mailing list i think: https://forum.flightgear.org/viewtopic.php?f=37&t=39632&hilit=Clipping#p391662
there it was the DDS cache corrupted.
I mark this as WONTFIX for now, but keep it open, so we don't forget that we test once in a while...
C172p has the same issue.
asked the mailing list.
Opened an FGFS issue ticket: https://sourceforge.net/p/flightgear/codetickets/2713/
asked again on the list....
On the Mailing List James Turner wrote:
A quick searching: model-interior-ALS defines a 'shadow-mapping-enabled' flag, which eg the C172 sets in a few places, eg: ./Aircraft/c172p/Models/Effects/interior/c172p-interior.eff:
true And the compositor shadows use the uniform 'shadows_enabled' which is controlled by modef-default.eff,
<shadows_enabled> <use>/sim/rendering/shadows/enabled</use> </shadows_enabled>
What you might need is to subclacc model-default.eff and make a model-unshadowd.eff for your prop disc? I don't know if this is something which makes sense to include in FGData effects.
@TheFGFSEagle Hi Eagle, does that make sense to you? Do you have some spare time to assist?
Yeah, I think too what you're seeing on the prop is not the shadow from the shadow map from the interior effects, but simply the compositor shadow - in which case James' idea should work fine.
Hm what still puzzles me a bit - when we have no shadow on the fast propeller disc, where does the light come from, when the sun is behind the plane. Shouldn't there be a shadow in the disc, even for fast rotating blades?
I think we probably need to do real life investigation.
Asked on the forums: https://forum.flightgear.org/viewtopic.php?f=34&t=41161
IMO the shadow should on the prop disc too, but faded by the same amount as the prop - which is just what we have right now, right ?
So - I decided to merge Eagles fix. The reasoning is that this restores the years-old previous behaviour which sounds more sensible currently.
The shadowing was definitely wrong, and if we get better details on how a real shadow would look like, we now can model that properly trough the new separated effect.
Looks like its again here.... Tried by spawning on Keflavik RW02, Noon time, so the sun is in the back. Idling on the threshold, the shadow is to be seen on the disc.
Hmmmmm, that's weird … I think I should be able to take a look later in the afternoon / evening.
With FGFS from 17.10., it is still working - just noting that here to facilitate the search for the offending commit.
On yesterday next I got this by chance. In the propeller I have seen the interiour shadow of the plane. Is that intentional? Sun was in my back, fair weather setting, afternoon.
Steps to reproduce:
SF FGFS Issue ticket: https://sourceforge.net/p/flightgear/codetickets/2713/