-
Notifications
You must be signed in to change notification settings - Fork 935
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
Revert MR672 #3059
Revert MR672 #3059
Conversation
Can you make it via
|
Done. |
A straight up reversion is bad too, since it just reintroduces the bug I fixed, which is that water becomes completely opaque exclusively when refraction is enabled but not when only reflections are enabled. "unclear how to fix" is an overstatement. The shoreline artifacts are coming from the refraction texture actually being used instead of fading out at a distance. The hack that suppresses them needs to be adjusted to match. Or the refraction should be rendered on top of something other than bright skybox. And the see-through-ness of the water itself can be adjusted in any number of ways, from the proposed diff I posted on my original MR to making water behave more like it does when refraction is disabled. Having said that, I'm not against reverting or cordoning off the bugfix I made until other changes are made such that it's not uncovering other problems, as long as the problem where refraction makes the water become completely opaque at high camera positions is not forgotten. |
Has anyone tried just making the refraction RTT clear colour something less artefact-prone yet (by calling the obviously-named method on the RTT camera)? It should be a ten-second job to test that. |
Even if it's a ten-second job to fix this, still a new pr/mr is required. No need to keep breaking changes in the master when we are close the make a new release. |
@wareya can you then create an issue to track the original issue? I did not see an accompanying changelog/issue for https://gitlab.com/OpenMW/openmw/-/merge_requests/672 |
@elsid I left this PR alone for now because I believed the issue was being worked on, especially when @wareya says:
So now the original bug is still there and we just switched back to that instead. 🤷🏼♂️ |
IIUC the issue https://gitlab.com/OpenMW/openmw/-/merge_requests/672 fixed is not a regression. Since that mr by fixing it introduced a regression it make sense to revert the change because known bugs have more priority. Better to keep old bugs rather than replace them with new ones. The code is still there in the git history to take it and complete the work. |
The regression isn't even really a regression, just an existing problem being more obvious now an actual bug is gone. It's also a subjective thing. If we replaced an incomplete set of icons in the CS with a complete one from a different designer, but someone opened an issue report with the regression tag because they thought a few of the new icons were uglier than their predecessors, we wouldn't revert the change and go back to having an incomplete set of icons. This PR is roughly analogous to that situation. Another analogy that's going to bug me if I don't write it now I've thought of it is that we wouldn't relight a house fire if the resident noticed their air conditioning was stuck on when they extinguished a house fire - it's new behaviour that they feel cold, but the cause was always there, just masked by a bigger problem in the opposite direction. This isn't to say I don't think #5922 should be fixed, just that reverting this is neither a solution nor a step towards a solution. |
There's also another regression, the green color of water shader is almost gone when compared to master. |
Things can change without being a regression. The green was believed to have been chosen just because it looked good in one guy's blender scene that he wrote a water shader for that Scrawl ported to OpenMW. |
It looked good for other people too tbh (the green color that's almost gone, even real life water has it), me included. There's other games that do that for their water/water shader, and it looked nice and made sense because of the environment. |
Personally I think the new water looks better. |
If we're at the point when different look for different people means a bug or not a bug then something is wrong. I see that water is too transparent and it's not my subjective perception. We can measure pixel color with and without water both underwater and outside water and compare the values. Even if that mr fixed some bug but didn't do it without objective flaws it should be work in progress and not be merged into the master. From the bug description:
Probably we're trying to measure the work of art where people never agree. But at least it has to be consistent while it models physics. If we're going to the point that someone likes this shader then it's not a problem, just install it for yourself and use or whaterver else shader you want. |
yeah I don't have any strong objections to this getting reverted temporarily as long as the narrow problem "refraction water gets opaque as you move away from it" isn't forgotten, even if it's trading one bug for another |
true, its just the water after all |
I created a ticket for the feature to make sure that we do not forget about it. |
I think it's important that when discussing the water shader we bear in mind that aspects of it are total nonsense physical-plausibility-wise. If we force everyone making aspects of it more physically plausible to remove every perceived negative side effect of doing so, it's never going to get better until someone rocks up with a total replacement. I'm fairly sure the increased transparency is more realisic, not less, but now we've not got artifical opacity standing in for things like:
Those three all mean underwater stuff is more visible compared to the water's surface than they're supposed to be. The transparency's fine with wareya's recent changes, just when you additively blend a thing that's darker than it's supposed to be with a thing that's lighter than it's supposed to be, you see more of the lighter thing than you're supposed to. |
Fixes regression #5922.
MR672 causes new issues and it is unclear how to fix them, so simplest solution is to revert it for now.