mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
Merge pull request #7852 from Goober5000/fix/loadout_wireframe_wipe
restore the wireframe wipe in the FS2 loadout effect
This commit is contained in:
1 file changed
+2
-3
@@ -1865,9 +1865,8 @@ void draw_model_rotating(model_render_params *render_info, int ship_class, int m
|
||||
render_info->set_animated_effect(ANIMATED_SHADER_LOADOUTSELECT_FS2, -clip);
|
||||
|
||||
if ( (time < 2.5f) && (time >= 0.5f) ) { // Phase 1 and 2 render the wireframe
|
||||
if (time >= 1.5f) // Just clip the wireframe after Phase 1
|
||||
render_info->set_clip_plane(plane_point,wire_normal);
|
||||
|
||||
render_info->set_clip_plane(plane_point,wire_normal);
|
||||
|
||||
render_info->set_flags(flags | MR_SHOW_OUTLINE_HTL | MR_NO_POLYS | MR_NO_TEXTURING | MR_NO_LIGHTING);
|
||||
|
||||
model_render_immediate(render_info, model_id, model_instance, &model_orient, &vmd_zero_vector);
|
||||
|
||||
Reference in new issue
Block a user