You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Configurable real time capture with respect to cost/latency: sky and cloud captures can be timesliced per face now. Fixed potential issue in deprecated SetXXX fucntions. Removed advanced tag from sample count because those are too important to hide by default. #rb Daniel.Wright #preflight 62206f4537049be5174a1215 [CL 19239678 by Sebastien Hillaire in ue5-main branch]
36 lines
1.5 KiB
C++
36 lines
1.5 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
FVolumetricCloudSceneProxy implementation.
|
|
=============================================================================*/
|
|
|
|
#include "VolumetricCloudProxy.h"
|
|
#include "Components/VolumetricCloudComponent.h"
|
|
|
|
|
|
|
|
FVolumetricCloudSceneProxy::FVolumetricCloudSceneProxy(const UVolumetricCloudComponent* InComponent)
|
|
: LayerBottomAltitudeKm(InComponent->LayerBottomAltitude)
|
|
, LayerHeightKm(InComponent->LayerHeight)
|
|
, TracingStartMaxDistance(InComponent->TracingStartMaxDistance)
|
|
, TracingMaxDistance(InComponent->TracingMaxDistance)
|
|
, PlanetRadiusKm(InComponent->PlanetRadius)
|
|
, GroundAlbedo(InComponent->GroundAlbedo)
|
|
, bUsePerSampleAtmosphericLightTransmittance(InComponent->bUsePerSampleAtmosphericLightTransmittance)
|
|
, SkyLightCloudBottomOcclusion(InComponent->SkyLightCloudBottomOcclusion)
|
|
, ViewSampleCountScale(InComponent->ViewSampleCountScale)
|
|
, ReflectionViewSampleCountScale(InComponent->ReflectionViewSampleCountScaleValue)
|
|
, ShadowViewSampleCountScale(InComponent->ShadowViewSampleCountScale)
|
|
, ShadowReflectionViewSampleCountScale(InComponent->ShadowReflectionViewSampleCountScaleValue)
|
|
, ShadowTracingDistance(InComponent->ShadowTracingDistance)
|
|
, StopTracingTransmittanceThreshold(InComponent->StopTracingTransmittanceThreshold)
|
|
, CloudVolumeMaterial(InComponent->Material)
|
|
{
|
|
}
|
|
|
|
FVolumetricCloudSceneProxy::~FVolumetricCloudSceneProxy()
|
|
{
|
|
}
|
|
|
|
|