Alpha blending flag

MattR

Member
Joined
Aug 5, 2021
Messages
10
Reaction score
48
Points
13
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,345
Reaction score
388
Points
83
Website
users.kymp.net
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