popojan / goban

3D igo/baduk/weiqi/go game board and GUI for GnuGo and other GTP engines ray traced by GLSL shader
https://hraj.si/goban
GNU General Public License v3.0
47 stars 3 forks source link

A display bug on Windows11 #42

Open Fly143 opened 9 months ago

Fly143 commented 9 months ago

On Windows11, there is a display bug with the chess pieces, and there is a layer of black coating on the surface of the chess pieces. QQ截图20240110003552

popojan commented 8 months ago

Hi Fly143, seems like an issue with the übershader I cannot reproduce.

  1. Have you also upgraded graphics card or its drivers?
  2. Could you please confirm it also applies to the "Minimalistic thin" appearence?
  3. Might be related to soft-shadows, attached is a zipped fragment.glsl shader with shadows turned off, if you were so kind to try it out and tell me whether it removes also the black patches, it would help me debug the problem. The fragment.zip is to be unzipped to data/shaders/legacy/.

Thank you for submitting the bug report.

Fly143 commented 6 months ago

@popojan I'm very sorry that I forgot I also raised an issue, and I hope my message didn't reply late. There is no display problem with other appearances, only this one has this display problem. After using the fargment.zip file you provided, the problem was solved. QQ截图20240317225430 QQ截图20240317225417 QQ截图20240317225629

Fly143 commented 6 months ago

In addition, do you need Chinese translation? Maybe you can provide a Chinese option for the software?

popojan commented 5 months ago

@Fly143 Thank you for trying the modified shader out. Now it is obvious it is the softshadow calculation causing trouble. Good to know the shadows work well with the simplified appearence, I may compare its code even though I cannot replicate the black artifacts myself.

My apology for late reaction to your answer.

As for the Chinese translation, it would be nice, as it seems mostly Chinese people download the binaries. Most strings are already part of the gui and json configuration files, I will check whether there is anything hard-coded left.

Thank you for your kind help.