Uriopass / Egregoria

3D City Builder without a grid
http://douady.paris/blog/
GNU General Public License v3.0
1.48k stars 50 forks source link

Most models having black rendering artifacts #70

Closed Salzian closed 1 year ago

Salzian commented 1 year ago

When moving the camera, there is a strong, flickering visual bug on models.

Screenshot 2022-11-20 at 19 21 41

https://user-images.githubusercontent.com/23481219/202919539-31dd8b6f-a7ef-4c73-ba3c-cf5830421410.mov

Only these things are unaffected:

Happening on MacBook Pro 2021

Uriopass commented 1 year ago

Can you send a screenshot of your graphical settings ? (In the graphics menu) Does disabling shadows help ? (Overall, can you try playing with your graphical settings to see if anything helps?)

Uriopass commented 1 year ago

What the affected things have in common is that they are all instance rendered. Could be driver/wgpu issues around instancing on your platform or some UB on my instancing code. Probably a padding issue. I'll take a look when I have time.

Uriopass commented 1 year ago

Got my hands on a M2 mac, looks like UB and I tweaked some things it should look a bit better now