32 bit color mode for the Digital Screen#3644
Open
Bilbard wants to merge 2 commits into
Open
Conversation
Author
|
render.OverrideBlend doesn't seem to function correctly, or maybe I'm slow. The common theme seems to be that the blend override gets upset when you draw with a source alpha of 0. GMod bug? I also experimented with doing a duplicate pixel pass in Draw() to first clear all of the updating pixels to avoid spamming blend overrides, but it ran slower than the current solution. |
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.
I added a 32 bit color mode to the Digital Screen for use with EGP rendering.
I think we should consider refreshing the Digital Screen when the color mode changes; I've noticed that pixels sometimes become unresponsive when writing to them with any 2 modes, and subsequently rewriting 1048572 or 1048573 fixes them by causing a refresh. This seems like something that should be automatically done.
Here is video that shows some of the new effects:
dvdscreensaver.mp4