Example #1
0
        public override void LoadSettingsFromObject(QualitySettingsBlob settings)
        {
            settings.TryLoad <int>(ref m_FogControlMode);

            settings.TryLoad <float>(ref m_VolumetricFogBudget);
            settings.TryLoad <float>(ref m_ResolutionDepthRatio);
        }
        public override void LoadSettingsFromObject(QualitySettingsBlob settings)
        {
            // RTGI
            settings.TryLoad <float>(ref m_RayLength);
            settings.TryLoad <float>(ref m_ClampValue);
            settings.TryLoad <bool>(ref m_FullResolution);
            settings.TryLoad <int>(ref m_UpscaleRadius);
            settings.TryLoad <bool>(ref m_Denoise);
            settings.TryLoad <bool>(ref m_HalfResolutionDenoiser);
            settings.TryLoad <float>(ref m_DenoiserRadius);
            settings.TryLoad <bool>(ref m_SecondDenoiserPass);

            // SSGI
            settings.TryLoad <int>(ref m_RaySteps);
            settings.TryLoad <int>(ref m_FilterRadius);
        }
Example #3
0
 public override void LoadSettingsFromObject(QualitySettingsBlob settings)
 {
     settings.TryLoad <int>(ref m_NearSampleCount);
     settings.TryLoad <float>(ref m_NearMaxBlur);
     settings.TryLoad <int>(ref m_FarSampleCount);
     settings.TryLoad <float>(ref m_FarMaxBlur);
     settings.TryLoad <int>(ref m_Resolution);
     settings.TryLoad <bool>(ref m_HighQualityFiltering);
     settings.TryLoad <bool>(ref m_PhysicallyBased);
     settings.TryLoad <bool>(ref m_LimitManualRangeNearBlur);
 }
Example #4
0
        public override void LoadSettingsFromObject(QualitySettingsBlob settings)
        {
            // RTAO
            settings.TryLoad <float>(ref m_RayLength);
            settings.TryLoad <int>(ref m_SampleCount);
            settings.TryLoad <bool>(ref m_Denoise);
            settings.TryLoad <float>(ref m_DenoiserRadius);

            // SSAO
            settings.TryLoad <int>(ref m_MaximumRadiusInPixels);
            settings.TryLoad <bool>(ref m_FullResolution);
            settings.TryLoad <int>(ref m_StepCount);
            settings.TryLoad <int>(ref m_DirectionCount);
            settings.TryLoad <bool>(ref m_BilateralUpsample);
        }
Example #5
0
 public override void LoadSettingsFromObject(QualitySettingsBlob settings)
 {
     // RTR
     if (HDRenderPipeline.pipelineSupportsRayTracing && m_Tracing.overrideState.boolValue &&
         m_Tracing.value.GetEnumValue <RayCastingMode>() != RayCastingMode.RayMarching)
     {
         settings.TryLoad <float>(ref m_MinSmoothness);
         settings.TryLoad <float>(ref m_SmoothnessFadeStart);
         settings.TryLoad <float>(ref m_RayLength);
         settings.TryLoad <float>(ref m_ClampValue);
         settings.TryLoad <bool>(ref m_FullResolution);
         settings.TryLoad <bool>(ref m_RayMaxIterationsRT);
         settings.TryLoad <bool>(ref m_Denoise);
         settings.TryLoad <int>(ref m_DenoiserRadius);
         settings.TryLoad <bool>(ref m_AffectsSmoothSurfaces);
     }
     // SSR
     else
     {
         settings.TryLoad <int>(ref m_RayMaxIterations);
     }
 }
 public override void LoadSettingsFromObject(QualitySettingsBlob settings)
 {
     // RTR
     if (HDRenderPipeline.pipelineSupportsRayTracing && m_RayTracing.overrideState.boolValue &&
         m_RayTracing.value.boolValue)
     {
         settings.TryLoad <float>(ref m_MinSmoothness);
         settings.TryLoad <float>(ref m_SmoothnessFadeStart);
         settings.TryLoad <float>(ref m_RayLength);
         settings.TryLoad <float>(ref m_ClampValue);
         settings.TryLoad <int>(ref m_UpscaleRadius);
         settings.TryLoad <bool>(ref m_FullResolution);
         settings.TryLoad <bool>(ref m_Denoise);
         settings.TryLoad <int>(ref m_DenoiserRadius);
     }
     // SSR
     else
     {
         settings.TryLoad <int>(ref m_RayMaxIterations);
     }
 }
Example #7
0
 public override void LoadSettingsFromObject(QualitySettingsBlob settings)
 {
     settings.TryLoad <int>(ref m_SampleCount);
 }
Example #8
0
 public override void LoadSettingsFromObject(QualitySettingsBlob settings)
 {
     settings.TryLoad <int>(ref m_Resolution);
     settings.TryLoad <bool>(ref m_HighQualityPrefiltering);
     settings.TryLoad <bool>(ref m_HighQualityFiltering);
 }
 public override void LoadSettingsFromObject(QualitySettingsBlob settings)
 {
     if (HDRenderPipeline.pipelineSupportsRayTracing && m_Tracing.overrideState.boolValue &&
         m_Tracing.value.GetEnumValue <RayCastingMode>() != RayCastingMode.RayMarching)
     {
         // RTGI
         settings.TryLoad <float>(ref m_RayLength);
         settings.TryLoad <float>(ref m_ClampValue);
         settings.TryLoad <bool>(ref m_FullResolution);
         settings.TryLoad <int>(ref m_UpscaleRadius);
         settings.TryLoad <int>(ref m_MaxMixedRaySteps);
         settings.TryLoad <bool>(ref m_Denoise);
         settings.TryLoad <bool>(ref m_HalfResolutionDenoiser);
         settings.TryLoad <float>(ref m_DenoiserRadius);
         settings.TryLoad <bool>(ref m_SecondDenoiserPass);
     }
     else
     {
         // SSGI
         settings.TryLoad <int>(ref m_RaySteps);
         settings.TryLoad <bool>(ref m_DenoiseSS);
         settings.TryLoad <bool>(ref m_HalfResolutionDenoiserSS);
         settings.TryLoad <float>(ref m_DenoiserRadiusSS);
         settings.TryLoad <bool>(ref m_SecondDenoiserPassSS);
     }
 }