Alpha blending flag

MattR

Active member
Joined
Aug 5, 2021
Messages
42
Reaction score
124
Points
33
Location
Melbourne
How does orbiter determine whether to render a virtual cockpit mesh with alpha blending enabled? I looked in the mesh file format and didn't see any alpha blending flag. Is it automatically determined based on dxt texture format or some other convention?
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,651
Reaction score
785
Points
128
I don't really know how that's supposed to work since it's not documented anywhere. However, DX9 client assumes the alpha blending being always on. Also it's important to render the mesh groups in the order in which they appear in the mesh file, any optimization that alters the order will likely fail. Frequent toggling of alpha blending would likely consume more time than it would save. So, always "on" is chosen.
 
Top