misha.physics
Well-known member
- Joined
- Dec 22, 2021
- Messages
- 489
- Reaction score
- 635
- Points
- 108
- Location
- Lviv
- Preferred Pronouns
- he/him
I thought to post it in the D3D9 Client thread, but decided to create a new thread about shadows.
I'm not sure, maybe this was always, but I'm noticing the object shadows problems both in Orbiter 2016 and OpenOrbiter. The shadows aren't exactly on the ground. They can be either above or below the surface. It appears even if the surface elevation is disabled, but the problem is less noticeable. There's the difference between shadows from the pre-defined objects (like BLOCK) and shadows from objects with a custom mesh. I see that the shadows behavior depends on:
1) Default objects or custom meshes.
2) Surface elevation on/off.
3) "Vessel mapping" in advanced D3D9 settings on/off.
Screenshots from OpenOrbiter 240315 (surface elevation is linear, vessel mapping is for all visible objects).
Shadow is above the ground:
![s1.png s1.png](https://cdn.orbiter-forum.com/data/attachments/38/38856-160473d7ba03ef501585039333dd2df8.jpg)
Shadow is below the ground:
![s2.png s2.png](https://cdn.orbiter-forum.com/data/attachments/38/38857-1ceb99a58929f4645f75df458231d34d.jpg)
I think this requires further researches for OpenOrbiter development.
I'm not sure, maybe this was always, but I'm noticing the object shadows problems both in Orbiter 2016 and OpenOrbiter. The shadows aren't exactly on the ground. They can be either above or below the surface. It appears even if the surface elevation is disabled, but the problem is less noticeable. There's the difference between shadows from the pre-defined objects (like BLOCK) and shadows from objects with a custom mesh. I see that the shadows behavior depends on:
1) Default objects or custom meshes.
2) Surface elevation on/off.
3) "Vessel mapping" in advanced D3D9 settings on/off.
Screenshots from OpenOrbiter 240315 (surface elevation is linear, vessel mapping is for all visible objects).
Shadow is above the ground:
![s1.png s1.png](https://cdn.orbiter-forum.com/data/attachments/38/38856-160473d7ba03ef501585039333dd2df8.jpg)
Shadow is below the ground:
![s2.png s2.png](https://cdn.orbiter-forum.com/data/attachments/38/38857-1ceb99a58929f4645f75df458231d34d.jpg)
I think this requires further researches for OpenOrbiter development.