Skip to content

Commit

Permalink
less blue?
Browse files Browse the repository at this point in the history
  • Loading branch information
gzotti committed Aug 30, 2024
1 parent 59c5b26 commit dd53c94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/modules/Planet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2870,7 +2870,8 @@ void Planet::draw(StelCore* core, float maxMagLabels, const QFont& planetNameFon
const float extinctedMag=getVMagnitudeWithExtinction(core)-getVMagnitude(core); // this is net value of extinction, in mag.
//const float magFactorGreen=powf(0.85f, 0.6f*extinctedMag);
//const float magFactorBlue=powf(0.6f, 0.5f*extinctedMag);
Vec3f color(haloColor[0], powf(0.75f, extinctedMag) * haloColor[1], powf(0.42f, 0.9f*extinctedMag) * haloColor[2]);
//Vec3f color(haloColor[0], powf(0.75f, extinctedMag) * haloColor[1], powf(0.42f, 0.9f*extinctedMag) * haloColor[2]);
Vec3f color(haloColor[0], powf(0.75f, extinctedMag) * haloColor[1], powf(0.25f, extinctedMag) * haloColor[2]);

Vec3f fullTint(0.25f*Vec3f(3.f+sqrtf(color[0]), 3.f+sqrtf(color[1]), 3.f+sqrtf(color[2])));

Expand Down

0 comments on commit dd53c94

Please sign in to comment.