Client: when 'buildcubemaps' is running, make sure the views are centered
at all times to avoid FTE dumping weird projections
This commit is contained in:
parent
60313aa3ce
commit
e13323e07d
2 changed files with 3 additions and 1 deletions
|
@ -190,6 +190,8 @@ CSQC_UpdateView(float w, float h, float focus)
|
|||
setproperty(VF_ENVMAP, "$whiteimage");
|
||||
setproperty(VF_ORIGIN, g_vecCubePos);
|
||||
setproperty(VF_AFOV, 90);
|
||||
setproperty(VF_CL_VIEWANGLES, [0,0,0]);
|
||||
setproperty(VF_ANGLES, [0,0,0]);
|
||||
SkyCamera_Setup(g_vecCubePos);
|
||||
CSQC_RenderScene();
|
||||
return;
|
||||
|
|
|
@ -92,7 +92,7 @@ CMap_Shoot(void)
|
|||
g_vecCubePos[1],
|
||||
g_vecCubePos[2]);
|
||||
localcmd(sprintf(
|
||||
"screenshot_cubemap %s.ktx %i\n",
|
||||
"screenshot_cubemap %s %i\n",
|
||||
strReflectcube,
|
||||
tmp.m_iSize));
|
||||
self.think = CMap_Check;
|
||||
|
|
Loading…
Reference in a new issue