Variable high-res screenshot size + supersampling (non-deferred only)

This commit is contained in:
unknown
2010-10-22 12:10:27 -05:00
parent 4929460c66
commit f357842265
6 changed files with 121 additions and 0 deletions

View File

@@ -567,8 +567,14 @@ class LLFileTakeSnapshotToDisk : public view_listener_t
if (gSavedSettings.getBOOL("HighResSnapshot"))
{
#if SHY_MOD // screenshot improvement
const F32 mult = gSavedSettings.getF32("SHHighResSnapshotScale");
width *= mult;
height *= mult;
#else //shy_mod
width *= 2;
height *= 2;
#endif //ignore
}
if (gViewerWindow->rawSnapshot(raw,