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

refactor(vignette): use shader to create vignette instead of texture #80

Merged
merged 5 commits into from
Apr 7, 2024

Conversation

Imitater967
Copy link
Contributor

No description provided.

@BenjaminAmos
Copy link

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.

@Imitater967
Copy link
Contributor Author

Where can i download this plugin?

@BenjaminAmos
Copy link

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.

BenjaminAmos
BenjaminAmos previously approved these changes Apr 5, 2024
Copy link

@BenjaminAmos BenjaminAmos left a 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:
1
This is how it looks with this change:
2

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.

@Imitater967
Copy link
Contributor Author

well, you can modify it at render config now.

@Imitater967
Copy link
Contributor Author

image
how about now? slightly stronger vignette

Copy link
Member

@jdrueckert jdrueckert left a 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.

@jdrueckert jdrueckert merged commit 6f6af53 into Terasology:develop Apr 7, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants