-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, the algorithn was to simply extract pixels above a certain dynamic brightness. Some scaling and blurring was applied as well. The results were usable but could be crude-looking. The new approach determines all 'bright' pixels (largest component above a certain) and applies some blurring as well as some filtering with the original image. After some experimentation with the details this resulted in an algorithm that seems to extract emissive images that seem to be relatively faithful to the appearance of the "light" part of original textures.
- Loading branch information
Showing
1 changed file
with
98 additions
and
90 deletions.
There are no files selected for viewing
This file contains 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