Skip to content

glsl/lightMapping: increase lower bound in computation to restore original light color, fix #299#306

Merged
illwieckz merged 1 commit intoDaemonEngine:masterfrom
illwieckz:fixlight
Apr 8, 2020
Merged

glsl/lightMapping: increase lower bound in computation to restore original light color, fix #299#306
illwieckz merged 1 commit intoDaemonEngine:masterfrom
illwieckz:fixlight

Conversation

@illwieckz
Copy link
Copy Markdown
Member

glsl/lightMapping: increase lower bound in computation to restore original light color, fix #299

@slipher
Copy link
Copy Markdown
Member

slipher commented Apr 8, 2020

LGTM

@illwieckz
Copy link
Copy Markdown
Member Author

Reminding it was looking like this:

deluxemap overflow

Without the line in that glsl file it looks like this (feature being disabled):

deluxemap overflow

With the line being edited by increasing the value, it looks like this:

deluxemap overflow

So the issue can still be seen in that very rare scenario but that's the cost to keep the feature.

(note: don't mind the artifacts on the bottom of the screenshots, they are absolutely unrelated and are not expected to be seen on user's screen, that's somewhat related to a usually disabled, incomplete and not working feature I tried recently.)

@illwieckz illwieckz merged commit a4a2e7e into DaemonEngine:master Apr 8, 2020
@illwieckz illwieckz linked an issue Apr 8, 2020 that may be closed by this pull request
illwieckz added a commit to illwieckz/Daemon that referenced this pull request Apr 16, 2020
…tion, ref DaemonEngine#299, DaemonEngine#306

The feature discussed in DaemonEngine#299 and DaemonEngine#306 to restore original light color
to feed the normal-based light computation was only applied on surface
using deluxe maps, leading to anomalous dark lighting with maps without
deluxemaps, or when deluxe mapping is disabled. It's not related to
deluxe maps but to light maps any way
illwieckz added a commit to illwieckz/Daemon that referenced this pull request Apr 21, 2020
…tion, ref DaemonEngine#299, DaemonEngine#306

The feature discussed in DaemonEngine#299 and DaemonEngine#306 to restore original light color
to feed the normal-based light computation was only applied on surface
using deluxe maps, leading to anomalous dark lighting with maps without
deluxemaps, or when deluxe mapping is disabled. It's not related to
deluxe maps but to light maps any way
illwieckz added a commit to illwieckz/Daemon that referenced this pull request Apr 21, 2020
…tion, ref DaemonEngine#299, DaemonEngine#306

The feature discussed in DaemonEngine#299 and DaemonEngine#306 to restore original light color
to feed the normal-based light computation was only applied on surface
using deluxe maps, leading to anomalous dark lighting with maps without
deluxemaps, or when deluxe mapping is disabled. It's not related to
deluxe maps but to light maps any way
illwieckz added a commit to illwieckz/Daemon that referenced this pull request Apr 21, 2020
…tion, ref DaemonEngine#299, DaemonEngine#306

The feature discussed in DaemonEngine#299 and DaemonEngine#306 to restore original light color
to feed the normal-based light computation was only applied on surface
using deluxe maps, leading to anomalous dark lighting with maps without
deluxemaps, or when deluxe mapping is disabled. It's not related to
deluxe maps but to light maps any way
illwieckz added a commit to illwieckz/Daemon that referenced this pull request Apr 23, 2020
…grid direction, ref DaemonEngine#299, DaemonEngine#306

The feature discussed in DaemonEngine#299 and DaemonEngine#306 to restore original light color
to feed the normal-based light computation was only applied on surface
using deluxe maps, leading to anomalous dark lighting with maps without
deluxemaps, or when deluxe mapping is disabled. It's not related to
deluxe maps but to light maps any way
illwieckz added a commit to illwieckz/Daemon that referenced this pull request Apr 23, 2020
…en with lightgrid direction, ref DaemonEngine#299, DaemonEngine#306

The feature discussed in DaemonEngine#299 and DaemonEngine#306 to restore original light color
to feed the normal-based light computation was only applied on surface
using deluxe maps, leading to anomalous dark lighting with maps without
deluxemaps, or when deluxe mapping is disabled. It's not related to
deluxe maps but to light maps any way
illwieckz added a commit that referenced this pull request Apr 23, 2020
…en with lightgrid direction, ref #299, #306

The feature discussed in #299 and #306 to restore original light color
to feed the normal-based light computation was only applied on surface
using deluxe maps, leading to anomalous dark lighting with maps without
deluxemaps, or when deluxe mapping is disabled. It's not related to
deluxe maps but to light maps any way
illwieckz added a commit that referenced this pull request Apr 26, 2020
…en with lightgrid direction, ref #299, #306

The feature discussed in #299 and #306 to restore original light color
to feed the normal-based light computation was only applied on surface
using deluxe maps, leading to anomalous dark lighting with maps without
deluxemaps, or when deluxe mapping is disabled. It's not related to
deluxe maps but to light maps any way
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deluxemap overflow pure white line artifact on edges

2 participants