Many model formats provide driver information stating whether a model uses single-sided or double-sided polygons. By default, double-sided polygons are rendered by PSXPrev, but this isn't always correct, especially in cases where a flat polygon has different textures that draw on both sides.
Steps to implement:
[x] The single sided setting needs to be stored for individual models. Certain models may need to be split up if they share different settings.
[x] CullFace needs to be enabled, and Front or FrontAndBack needs to be enabled whether the model is single-sided or double-sided respectively.
[x] An option to force drawing double-sided should be added. Because it's often convenient to look at a model from angles the game didn't intend it to be seen at.
Preview:Figure A. A surface with separate faces on each side, but the texture on the back-side of one polygon replaces the texture that should draw on the front.
Figure B. What the front surface should look like with single-sided polygons.
Many model formats provide driver information stating whether a model uses single-sided or double-sided polygons. By default, double-sided polygons are rendered by PSXPrev, but this isn't always correct, especially in cases where a flat polygon has different textures that draw on both sides.
Steps to implement:
Preview: Figure A. A surface with separate faces on each side, but the texture on the back-side of one polygon replaces the texture that should draw on the front.
Figure B. What the front surface should look like with single-sided polygons.