OpenGL: Make the gap between a wall and an extra texture less obvious

This commit is contained in:
Lactozilla 2024-01-30 00:45:16 -03:00
parent 722a3c3d48
commit e84032fd70

View file

@ -1420,7 +1420,7 @@ static void HWR_RenderExtraTexture(unsigned which, side_t *side, sector_t *sec_f
fixed_t v2y = FloatToFixed(ve.y); fixed_t v2y = FloatToFixed(ve.y);
angle_t wallang = (R_PointToAngle2(v1x, v1y, v2x, v2y) - ANGLE_90) >> ANGLETOFINESHIFT; angle_t wallang = (R_PointToAngle2(v1x, v1y, v2x, v2y) - ANGLE_90) >> ANGLETOFINESHIFT;
fixed_t wallpush = FRACUNIT/4 * which; fixed_t wallpush = FRACUNIT/64 * which;
float flength = gl_curline->flength; float flength = gl_curline->flength;