Skip to content

Per-vertex colors are brokenΒ #11

@rickgaiser

Description

@rickgaiser

There are 3 VU1 renderers that should be able to handle per-vertex colors.
See vu1/general_pv_diff*.vcl

I think they work under specific conditions only:

  • color material needed?
  • lighting needed?

A good example to test the per-vertex colors is the "examples/nehe/lesson03", that should show a triangle with 3 different colors per vertex:
image
The left is how it should look (pc rendered), the right is how it looks currently (pcsx2 rendered).

Another related issue:
If enabling glEnable(GL_COLOR_MATERIAL); in the above example, ps2gl will mismatch the used vu1 renderer and the data sent to that renderer, causing a corrupted image to show. Probably caused by an unsupported feature that is not handled correctly.

Also broke becouse of the same issue:

  • examples/nehe/lesson04
  • examples/nehe/lesson05

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions