MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Blend

Method Blend

Source/Engine/Level/Actors/PostFxVolume.cpp:43–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void PostFxVolume::Blend(PostProcessSettings& other, float weight)
44{
45 other.AmbientOcclusion.BlendWith(AmbientOcclusion, weight);
46 other.GlobalIllumination.BlendWith(GlobalIllumination, weight);
47 other.Bloom.BlendWith(Bloom, weight);
48 other.ToneMapping.BlendWith(ToneMapping, weight);
49 other.ColorGrading.BlendWith(ColorGrading, weight);
50 other.EyeAdaptation.BlendWith(EyeAdaptation, weight);
51 other.CameraArtifacts.BlendWith(CameraArtifacts, weight);
52 other.LensFlares.BlendWith(LensFlares, weight);
53 other.DepthOfField.BlendWith(DepthOfField, weight);
54 other.MotionBlur.BlendWith(MotionBlur, weight);
55 other.ScreenSpaceReflections.BlendWith(ScreenSpaceReflections, weight);
56 other.AntiAliasing.BlendWith(AntiAliasing, weight);
57 other.PostFxMaterials.BlendWith(PostFxMaterials, weight);
58}
59
60void PostFxVolume::AddPostFxMaterial(MaterialBase* material)
61{

Callers 1

BlendSettingsMethod · 0.45

Calls 1

BlendWithMethod · 0.80

Tested by

no test coverage detected