#include <util/ue-header-guard-begin.h>
#include "CoreMinimal.h"
#include <util/ue-header-guard-end.h>
Go to the source code of this file.
|
| namespace | CarlaSkyLightMap |
| | Environment-map support for the sky light (the set_sky_light_map RPC).
|
| |
|
| CARLA_API UTextureCube * | CarlaSkyLightMap::CreateCubemapFromEquirect (const float *RGBA, int32 Width, int32 Height, int32 FaceSize=512) |
| | Resamples the panorama into a transient 6-face HDR cubemap (PF_FloatRGBA, FaceSize x FaceSize per face) laid out in Unreal's cubemap face convention (+X, -X, +Y, -Y, +Z, -Z, see GetCubemapVector in ReflectionEnvironmentShaders.usf), so that sampling the cube with a world direction returns the panorama value for that direction.
|
| |