Draw modifier volumes after punch-through so they can be shadowed as

well.
This commit is contained in:
Flyinghead 2018-05-23 14:31:11 +02:00
parent 2f9dcfabd8
commit a345fcc4c7
1 changed files with 2 additions and 3 deletions

View File

@ -1070,12 +1070,11 @@ void DrawStrips()
//Opaque
DrawList<ListType_Opaque,false>(pvrrc.global_param_op, previous_pass.op_count, current_pass.op_count - previous_pass.op_count);
// Modifier volumes
DrawModVols(previous_pass.mvo_count, current_pass.mvo_count - previous_pass.mvo_count);
//Alpha tested
DrawList<ListType_Punch_Through,false>(pvrrc.global_param_pt, previous_pass.pt_count, current_pass.pt_count - previous_pass.pt_count);
// Modifier volumes
DrawModVols(previous_pass.mvo_count, current_pass.mvo_count - previous_pass.mvo_count);
//Alpha blended
{