Celestia icon indicating copy to clipboard operation
Celestia copied to clipboard

Limb darkening

Open 375gnu opened this issue 1 year ago • 10 comments

published for testing and getting response.

image

With atmospheres it looks… weird.

375gnu avatar Dec 30 '23 14:12 375gnu

Is it just me, or is there a sprite (or something similar) in the center of the star that increases the brightness and causes some colors to overexpose?

Askaniy avatar Dec 30 '23 15:12 Askaniy

I also think that atmospheres, as a workaround for the glow effect, should be removed

Askaniy avatar Dec 30 '23 15:12 Askaniy

Is it just me, or is there a sprite (or something similar) in the center of the star that increases the brightness and causes some colors to overexpose?

Yes, there is a big quad (sprite) if front of the Sun.

375gnu avatar Dec 30 '23 17:12 375gnu

That's how it looks with stars as scaled disks (in this mode the quad size is much smaller): image

375gnu avatar Dec 30 '23 17:12 375gnu

btw, in old HDR code atmosphere is disabled:

#ifndef USE_HDR
        Atmosphere atmosphere;

        // Use atmosphere effect to give stars a fuzzy fringe
        if (star.hasCorona() && rp.geometry == InvalidResource)
        {
            Color atmColor(color.red() * 0.5f, color.green() * 0.5f, color.blue() * 0.5f);
            atmosphere.height = radius * CoronaHeight;
            atmosphere.lowerColor = atmColor;
            atmosphere.upperColor = atmColor;
            atmosphere.skyColor = atmColor;

            rp.atmosphere = &atmosphere;
        }
        else
#endif
        rp.atmosphere = NULL;

375gnu avatar Dec 31 '23 14:12 375gnu

That's how it looks with stars as scaled disks (in this mode the quad size is much smaller): image

What would this look like if used with a normal brightness star texture?

JiliTheSpaceboy avatar Jan 01 '24 05:01 JiliTheSpaceboy

What would this look like if used with a normal brightness star texture?

image

or even image

375gnu avatar Jan 01 '24 09:01 375gnu

What would this look like if used with a normal brightness star texture?

image

or even

image

Yup that looks lovely. Feels like we can actually use normal brightness textures in default now.

JiliTheSpaceboy avatar Jan 01 '24 12:01 JiliTheSpaceboy