abaire / nxdk_pgraph_tests

Tests to verify xemu handling of various pushbuffer commands
Other
12 stars 8 forks source link

Adds tests for lighting without specifying normals. #26

Closed abaire closed 2 years ago

abaire commented 2 years ago

Adds a test to showcase the behavior where the XBOX hw preserves the last used vertex normal when rendering lit vertices that do not provide a normal themselves.

Also fixes various issues related to state bleeding and sets the foundation for #22. Normally I'd split this into a separate PR but the state reset is critical to keeping the other tests from breaking, and in this specific case I don't think it's worth leaving things in a broken state just for the sake of a clean git history.