Hi,
like discussed on the mailing list, NEXT has a rendering regression regarding interiour shadows rendered onto propeller discs when the sun is behind.
Affected is at least the C172p and the C182s/t.
Details:
- https://github.com/HHS81/c182s/issues/470 (screenshots/detailed problem description)
- https://sourceforge.net/p/flightgear/mailman/message/37404673/ (some discussion)
We haev some model XML flag to say doesn't cast shadows, what I don't know is if we have a flag to avoid receiving shadows. I'll take a look now but I am not really familiar with this area of the code.
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: <shadow-mapping-enabled>true</shadow-mapping-enabled>
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.
The problem also existe with the c172 so IT surely would be good to have this solved centrally…
Otherwise i‘m not into effects yet and only understand half of what you wrote g
Related
Tickets: #2713
For the c182, the prop disc is effected as following:
It comes from the default FGData model-transparent.
How could i tinker with that (ie overload the shadow receiving)?
Try adding (inside effect, after the object-names);
(I am guessing slightly, I am no expert in this stuff, just reading the code)
Fixed per https://github.com/HHS81/c182s/commit/8364a309c215be4a482508331756e9bb11532d05 according to https://github.com/HHS81/c182s/issues/470
Its visible again....
Reopened for investigation