Skip to content

Light grid-related cleanup#1898

Open
slipher wants to merge 4 commits intoDaemonEngine:masterfrom
slipher:grid-cleanup
Open

Light grid-related cleanup#1898
slipher wants to merge 4 commits intoDaemonEngine:masterfrom
slipher:grid-cleanup

Conversation

@slipher
Copy link
Member

@slipher slipher commented Feb 16, 2026

A few light grid-related cleanups/optimizations that do not change the functionality.

Also fix reversed naming of lat/long and fix wrong comments.
In one step of light grid processing, values were converted from sRGB to
linear and stored in bytes. This unnecessarily loses precision during
the calculation.
Set the alpha byte to 255 so the image uploading code will choose an RGB
format.
Don't create the light grid direction image if deluxe mapping is
disabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant