HUD color transformation matrix oddity - different effects for different areas

As I've tinkered quite extensively with custom HUDs, I thought I'd share an intriguing oddity.

Let's try the following color matrix transformation code:

Code:
<MatrixRed> 1, 0, -1 </MatrixRed>
<MatrixGreen> -2, 2, 1 </MatrixGreen>
<MatrixBlue> 2, 0, 1 </MatrixBlue>

According to graphics software channel mixing, the predicted HUD colors will look like this, with the main color being green:
d-soft-prediction.jpg


According to community tools (either by Arkku or DrKaii, they're very similar), it will look like this, with the main color being a yellowish orange:
arkku-prediction.jpg


Which one is right? Well, they both are. Let's check it in-game.

Station menus. It's green:
station-results.jpg


Cockpit HUD. It's yellowish orange:
cockpit-results.jpg



TEST Number 2

Code:
<MatrixRed>0.75, -0.75, 0</MatrixRed>
<MatrixGreen>-2, 2, 2</MatrixGreen>
<MatrixBlue>2, -0.25, -0.25</MatrixBlue>

Graphics software channel mixer prediction:
t02-d-soft.jpg



DrKaii Tool prediction:

t02-drkaii.jpg


Results: in-game station menu:
t02-station.jpg


Results: in-game cockpit:
t02-cockpit.jpg


So my conclusion thus far is that that the game implements the color matrix transformation differently for the cockpit HUD and the station menus. No idea how it's implemented, but think I know why: the station menus have a dark backing, while the cockpit HUD has "free-floating" elements. There's some limitation around that.

What's the practical significance? Well, it's that if the game would/could have implemented the matrix the same way for the cockpit as it does for the menus, we'd have more leeway as of the results we can get as we push those damn sliders around.
 
Last edited:
I believe the cause of this bug is related to green gas giants and why the light of some stars are pink >> white >> green as you approach and fly away from them.
 
I have used:

<MatrixRed>0.7, 0.08, -0.08</MatrixRed>
<MatrixGreen> 0, 1, 1 </MatrixGreen>
<MatrixBlue> 0.15, -0.15, 1</MatrixBlue>

for years and never seen anything like the OP.

I think the problem there is the use of numbers above 1 - as @Planewalker alludes to.

So keep the digits between 1.000 and -1.000 and you should have no problems (except maybe washed-out FC crew mugshots).
The numbers smaller 1 are an infinite group. The numbers greater 1 are infinite group, too, but they are a bigger group.
 
Back
Top Bottom