Repository navigation
Conversation
…r black - only a VOB standing on light mapped ground takes the lightmap's light ApplyWorldLight took the nearest light mapped cells up to 8 m around a VOB, also above it. Abuyin's carpets in Khorinis lie on the vertex lit street under a house's light mapped overhang: they got the overhang's black lightmap. Like the engine (the ground polygon's light), the VOB now needs light mapped cells right under its bottom; worlds lit mostly by lightmaps (mines) keep the old search.
17 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Carpets and other VOBs lying on the street next to houses are no longer black. A VOB takes the lightmap's light (the "light of the floor below it",
StationaryLightsService.ApplyWorldLight) only when it stands on light mapped ground: a light mapped cell right under its bottom (its 2 m cell or a neighbor, floor level or one below). Worlds lit mostly by lightmaps (mines) keep the old ring search.Why
Abuyin's carpets in Khorinis (G2) were black, reported from a playtest.
ApplyWorldLighttook the nearest light mapped cells up to 8 m around a VOB, also above it. The carpets lie on the vertex lit street under a house's light mapped overhang, so they got the overhang's black lightmap:_VobLightTint = (0, 0, 0, 1). The engine uses the light of the VOB's ground polygon.How to test manually
Save/load
No new state.
Known gaps / follow-ups