diff options
| author | lbavoil <[email protected]> | 2016-04-20 10:22:03 +0200 |
|---|---|---|
| committer | lbavoil <[email protected]> | 2016-04-20 10:22:03 +0200 |
| commit | 71113a36d5de63110e79891b976040efa99763af (patch) | |
| tree | e653ca95335398d39d2a58bfec8ec2c53ac3e73f /include | |
| parent | Update Linux build script (diff) | |
| download | hbaoplus-71113a36d5de63110e79891b976040efa99763af.tar.xz hbaoplus-71113a36d5de63110e79891b976040efa99763af.zip | |
Clamp the NearAO and FarAO parameters to [0,4] instead of [1,4]
Diffstat (limited to 'include')
| -rw-r--r-- | include/GFSDK_SSAO.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/GFSDK_SSAO.h b/include/GFSDK_SSAO.h index 97c7fa0..cdaec09 100644 --- a/include/GFSDK_SSAO.h +++ b/include/GFSDK_SSAO.h @@ -198,7 +198,7 @@ struct GFSDK_SSAO_Version : Major(3) , Minor(0) , Branch(0) - , Revision(20573789) + , Revision(20666007) { } @@ -641,8 +641,8 @@ struct GFSDK_SSAO_Parameters { GFSDK_SSAO_FLOAT Radius; // The AO radius in meters GFSDK_SSAO_FLOAT Bias; // To hide low-tessellation artifacts // 0.0~0.5 - GFSDK_SSAO_FLOAT NearAO; // Scale factor for the near-range AO, the greater the darker // 1.0~4.0 - GFSDK_SSAO_FLOAT FarAO; // Scale factor for the far-range AO, the greater the darker // 1.0~4.0 + GFSDK_SSAO_FLOAT NearAO; // Scale factor for the near-range AO, the greater the darker // 0.0~4.0 + GFSDK_SSAO_FLOAT FarAO; // Scale factor for the far-range AO, the greater the darker // 0.0~4.0 GFSDK_SSAO_FLOAT PowerExponent; // The final AO output is pow(AO, powerExponent) // 1.0~8.0 GFSDK_SSAO_ForegroundAO ForegroundAO; // To limit the occlusion scale in the foreground GFSDK_SSAO_BackgroundAO BackgroundAO; // To add larger-scale occlusion in the distance |