Flycast: Evolution - The World of Sacred Device (UK/PAL) - Graphics bugs

Created on 1 Jul 2018  路  11Comments  路  Source: libretro/flycast

Unlike the US version, the UK version actually boots up.

@flyinghead These are some long standing graphics bugs with this game that have not been fixed before in Reicast. This is directly after starting a new game.

image

You see certain tiles here color cycling. This should not be happening. What it should look like instead can be seen in this video (captured from a real Dreamcast) -

https://www.youtube.com/watch?v=z5cNCMVcc30

bug graphics bugs

All 11 comments

This issue might shed some more light on the issue -

https://github.com/reicast/reicast-emulator/issues/56

@flyinghead Could this be fixed with your flat shading branch?

Mr.Psyman says -

It's a funky color scheme.

Flat polys use 1 vertex for color. That's what dknute once told me. For some reason I never looked at it.
Apparently, we treat them the same as gouraud polys.

Looks like a good candidate. Let me check.

Yup, the flat shading branch fixes this -

image

And it works
evolution - flat shading

Hah, both posted at the same time heh.

OK, I will backport this commit for OIT. Try to make an implementation for non-OIT as well.

Apparently the support for flat shading requires OpenGL/GLES 3.0.

Ah, can we put it around ifndef GLES conditionals for now then in the non OIT renderer? That way at least desktop users can still enjoy it. glProvokeVertex is GL 3.2 though. How about adding a setting for correct handling of flat shading that will require GL 3.2, and if the setting is not enabled, we dont default to this superset?

I just pushed a commit on my master branch with flat shading between #ifdef GLES
I didn't backport glProvokeVertex since GL_LAST_VERTEX_CONVENTION is the default so it shouldn't be needed.

In the non-OIT branch there are still some weird colored polygons at the back of the scene. Not sure what they are but I assume it's a transparent sorting issue.

Yeah, at a certain point, the current buggy sorting modes in non-OIT might need a rewrite. Space Channel 5 Part 2 for instance is one of the games that exhibits the most serious graphical errors of most games when it comes to alpha sorting - see this comparison video here between OIT and non-OIT -

https://www.youtube.com/watch?v=vmZ5sTYD2q8

I know but there's no easy solution. The sorting is not buggy. It's just that it's only sorting triangles, not pixels. The only real fix I know of is per-pixel sorting, aka OIT ;)

Was this page helpful?
0 / 5 - 0 ratings