forked from mirror/openmw-tes3mp
add settings for cubemap size
This commit is contained in:
parent
43c49e2f31
commit
5a07d135ae
1 changed files with 1 additions and 1 deletions
|
@ -766,8 +766,8 @@ namespace MWRender
|
|||
int screenshotHeight = Settings::Manager::tryGetInt("s360 height","Video",mViewer->getCamera()->getViewport()->height());
|
||||
SphericalScreenshot::SphericalScreenshotMapping mapping = static_cast<SphericalScreenshot::SphericalScreenshotMapping>(
|
||||
Settings::Manager::tryGetInt("s360 mapping","Video",SphericalScreenshot::MAPPING_SPHERICAL));
|
||||
int cubeWidth = Settings::Manager::tryGetInt("s360 cubemap size","Video",screenshotWidth / 2);
|
||||
|
||||
int cubeWidth = screenshotWidth / 2;
|
||||
SphericalScreenshot s(cubeWidth);
|
||||
|
||||
osg::Vec3 directions[6] = {
|
||||
|
|
Loading…
Reference in a new issue