Skip to content

Commit

Permalink
client: render: fixed weird reflections distortion on non-axial mirro…
Browse files Browse the repository at this point in the history
…r surfaces (fix #219)

Thanks to g-cont for figuring out :)
  • Loading branch information
SNMetamorph committed Oct 17, 2024
1 parent c878216 commit 8b2520b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/render/gl_subview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ texFlags_t R_SetupMirrorView( msurface_t *surf, ref_viewpass_t *rvp, matrix4x4 &
rvp->viewangles[0] = anglemod( angles[0] );
rvp->viewangles[1] = anglemod( angles[1] );
rvp->viewangles[2] = anglemod( angles[2] );
rvp->viewangles[2] = -rvp->viewangles[2];
rvp->vieworigin = origin;

This comment has been minimized.

Copy link
@a1batross

a1batross Oct 17, 2024

Contributor

stupid quake bug?

This comment has been minimized.

Copy link
@SNMetamorph

SNMetamorph Oct 17, 2024

Author Owner

actually, nobody knows. but since SQB influences only pitch axis (when bug related to roll axis), i think that this is not the case.


rvp->fov_x = RI->view.fov_x;
Expand Down

0 comments on commit 8b2520b

Please sign in to comment.