-
Notifications
You must be signed in to change notification settings - Fork 10
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
refactor(vignette): use shader to create vignette instead of texture #80
Conversation
There are a few warnings from checkstyle in these changes (see https://github.com/Terasology/CoreRendering/pull/80/files#diff-6cc8578782c91ac42bf943d80e8d12166716581e75407504c4120aad864f6119). It would be best if those were fixed, as we aim to have zero warnings in new code. |
Where can i download this plugin? |
Checkstyle should be run as a part of the gradle checks but if you want to see the warnings in IntelliJ then I think we tend to use https://plugins.jetbrains.com/plugin/1065-checkstyle-idea. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For comparison, this is how the vignette looked before:
This is how it looks with this change:
Since one of the first things I usually do with a new game is disable fancy effects (vignette, motion blur, head bobbing, chromatic abberation, etc.), I am unable to comment on if this looks better or not. It it cetainly a more flexible implementation which should be easily tweakable afterwards.
well, you can modify it at render config now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests out fine and the vignette "strength" is great now IMO
@BenjaminAmos already commented on Discord that the code improves things, so I'll go ahead and merge.
No description provided.