Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes blindness and blurry vision #85

Closed

Conversation

ArtificialRangerRex
Copy link
Contributor

Fixes #54

Let me explain.
When client's mob get some damage to the eyes, a blur filter applied to client's screen. After that, blur filter(or any other filter) start to interfere alpha mask filter just because it share the same plane with alpha mask filter. It looks like this:

image
As you can see - there is mob right behind the character.

I don't think it's currently possible to get these filters to work together correctly. So we have to downgrade to the old set_fullscreen mechanic to make FOV mask work properly.

image

@mattmatterson111
Copy link
Contributor

You think rewriting the plane system would be possible to support the vision cone and blurring at the same time?

@mattmatterson111 mattmatterson111 added enhancement an improvement to the code that is not a feature to the game fix labels Dec 14, 2022
@ArtificialRangerRex
Copy link
Contributor Author

I'm not sure there is a need to rework the plane system, this is how the filters works. You just can't mask something and then apply other filters to the masked object (the plane_master in this case.)

But this is only my thoughts, I could be wrong.

@chaoko99
Copy link
Contributor

You are wrong.

The blur plane master just needs to have the appropriate render source added to it.

@chaoko99
Copy link
Contributor

I've added this to my to-do list.

Unfortunately it is VERY long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement an improvement to the code that is not a feature to the game fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The "You go blind!" message appears even if you can still see things on your screen
3 participants