Silier Posted January 4, 2022 Report Share Posted January 4, 2022 27 minutes ago, nwtour said: I found a secret room in that place Congratulations, the room will cary your name since this day 2 Quote Link to comment Share on other sites More sharing options...
gameboy Posted January 5, 2022 Author Report Share Posted January 5, 2022 @Stan` I have uploaded this file, which is an earlier version, and my friend and I have modified it, which effectively solves this problem. But for the file with the same name in the current version, you need to further modify it, and I think he( @vladislavbelov ) can do it. TerrainRenderer.cpp Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 5, 2022 Report Share Posted January 5, 2022 This file is too old. Too much has changed. the problem isn't in the C++ side but in the shader side. Quote Link to comment Share on other sites More sharing options...
nwtour Posted January 5, 2022 Report Share Posted January 5, 2022 Looks like a problem with a vendor driver for Windows. I have not been able to see this shiny line after trying all the settings in Linux/Mesa Quote Link to comment Share on other sites More sharing options...
gameboy Posted January 5, 2022 Author Report Share Posted January 5, 2022 Up to this point everything was fine on the system Windows, but when the file made a lot of changes, the problem occurred. Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 5, 2022 Report Share Posted January 5, 2022 2 hours ago, nwtour said: Looks like a problem with a vendor driver for Windows. I have not been able to see this shiny line after trying all the settings in Linux/Mesa You need to play with GLSL on and Water Settings set to max. It seems to be particularly visible on that map. I have a hack that fixes it, but it makes no sense so it cannot be committed Quote Link to comment Share on other sites More sharing options...
nwtour Posted January 5, 2022 Report Share Posted January 5, 2022 14 minutes ago, Stan` said: You need to play with GLSL on and Water Settings set to max. MESA 21, all settings to max, MESA_GL_VERSION_OVERRIDE=4.6 LIBGL_ALWAYS_SOFTWARE=1I don’t see lines and I don’t see lines in your screenshot either 24 minutes ago, Stan` said: It seems to be particularly visible on that map. I have a hack that fixes it, but it makes no sense so it cannot be committed Will be the main feature of the A30 Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted January 5, 2022 Report Share Posted January 5, 2022 1 minute ago, nwtour said: MESA 21, all settings to max, MESA_GL_VERSION_OVERRIDE=4.6 LIBGL_ALWAYS_SOFTWARE=1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 5, 2022 Report Share Posted January 5, 2022 1 hour ago, nwtour said: I don’t see lines and I don’t see lines in your screenshot either Interesting. I have on Intel and Nvidia. Yes as I said in the text above, this is with the "fixed" shader. Here is without the fix notice I had to rotate my camera to trigger the bug. Quote Link to comment Share on other sites More sharing options...
gameboy Posted January 6, 2022 Author Report Share Posted January 6, 2022 Yes, this error does exist, and you'll notice it when you rotate the camera. We need to fix this problem by modifying the code in the file I uploaded. Quote Link to comment Share on other sites More sharing options...
gameboy Posted January 26, 2022 Author Report Share Posted January 26, 2022 Hi,Guys, this problem has been solved, it took me a week to solve this problem, this problem has been bothering me for half a year, ok, this is a great victory, I cheer for it, I will upload the video to YouTube later. Quote Link to comment Share on other sites More sharing options...
real_tabasco_sauce Posted January 26, 2022 Report Share Posted January 26, 2022 2 hours ago, gameboy said: Hi,Guys, this problem has been solved, it took me a week to solve this problem, this problem has been bothering me for half a year, ok, this is a great victory, I cheer for it, I will upload the video to YouTube later. Victory at last! Quote Link to comment Share on other sites More sharing options...
gameboy Posted January 30, 2022 Author Report Share Posted January 30, 2022 (edited) @Stan` @vladislavbelov I have done a thorough investigation and found that the problem is ultimately the 'Real water depth'. When I deselect the Real depth option, the flashing line disappears. I made a patch, which can solve this problem, but it caused a little problem in the water map, so I still need your help, please help me improve this patch. water_high.fs Edited January 30, 2022 by gameboy Quote Link to comment Share on other sites More sharing options...
gameboy Posted January 30, 2022 Author Report Share Posted January 30, 2022 This is a side effect of enabling the patch. Quote Link to comment Share on other sites More sharing options...
gameboy Posted January 31, 2022 Author Report Share Posted January 31, 2022 @vladislavbelov I modified the number in this line to solve this problem, but there are new problems. The mapping of coastline is not as natural as before. Please help me, thank you.I modified the number in this line to solve this problem, but there are new problems. The mapping of coastline is not as natural as before. Please help me, thank you. Before modification vec4 viewPosition = projInvTransform * (vec4((uv - vec2(0.5)) * 2.0, depth * 2.0 - 1.0 After modification vec4 viewPosition = projInvTransform * (vec4((uv - vec2(0.5)) * 1.5, depth * 2.0 - 1.0 Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted January 31, 2022 Report Share Posted January 31, 2022 2 hours ago, gameboy said: Before modification vec4 viewPosition = projInvTransform * (vec4((uv - vec2(0.5)) * 2.0, depth * 2.0 - 1.0 After modification vec4 viewPosition = projInvTransform * (vec4((uv - vec2(0.5)) * 1.5, depth * 2.0 - 1.0 It's incorrect to replace 2.0 by 1.5 because it should convert [0, 1] range to [-1, 1] range, not [-0.75, 0.75]. Quote Link to comment Share on other sites More sharing options...
gameboy Posted January 31, 2022 Author Report Share Posted January 31, 2022 (edited) @vladislavbelov I wondered why the flashing line disappeared when I changed from 2.0 to 1.0 ? How to solve this problem, do you have a good solution? Please help. Edited January 31, 2022 by gameboy Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted January 31, 2022 Report Share Posted January 31, 2022 1 hour ago, gameboy said: I wondered why the flashing line disappeared when I changed from 2.0 to 1.0 ? Because somethings else is broken 1 hour ago, gameboy said: How to solve this problem, do you have a good solution? I might have a good solution, but not in priority at the moment. 1 Quote Link to comment Share on other sites More sharing options...
gameboy Posted January 31, 2022 Author Report Share Posted January 31, 2022 @vladislavbelov Could you please provide me with your solution? I will test it for you. Please provide it to me, thank you very much. Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted January 31, 2022 Report Share Posted January 31, 2022 14 minutes ago, gameboy said: Could you please provide me with your solution? I will test it for you. Please provide it to me, thank you very much. I don't have an implemented solution yet. 2 Quote Link to comment Share on other sites More sharing options...
gameboy Posted February 1, 2022 Author Report Share Posted February 1, 2022 (edited) @vladislavbelov We should close 'Real Water Depth '. Let me close it, and the problem doesn't arise again. Edited February 1, 2022 by gameboy Quote Link to comment Share on other sites More sharing options...
gameboy Posted March 21, 2022 Author Report Share Posted March 21, 2022 @vladislavbelov Please Quote Link to comment Share on other sites More sharing options...
gameboy Posted March 30, 2022 Author Report Share Posted March 30, 2022 @vladislavbelov I think we'll try rolling back to the SVN24145 and the problem will be solved, what do you think? The SVN24160 changed it, and the problems began. Changeset 24160 – Wildfire Games Changeset 24145 – Wildfire Games Quote Link to comment Share on other sites More sharing options...
gameboy Posted April 9, 2022 Author Report Share Posted April 9, 2022 (edited) @vladislavbelov @Stan` This issue has been fixed, please watch the video. <iframe width="1280" height="1440" src=" Edited April 10, 2022 by gameboy Quote Link to comment Share on other sites More sharing options...
gameboy Posted April 9, 2022 Author Report Share Posted April 9, 2022 (edited) <iframe id="ytplayer" type="text/html" width="640" height="360" src="https:// " frameborder="1"></iframe> I don't know how to play a video posted on youtube directly here, please tell me how to do it? Spoiler Edited April 10, 2022 by gameboy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.