Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientEnvironmentDesc Struct Reference

View environment used for image-based lighting. More...

#include <RadientView.h>

Public Attributes

IRadientTextureAssetpEnvironmentMap = nullptr
RadientFloat3 Color = {1.f, 1.f, 1.f}
 Environment color multiplier.
Float32 Intensity = 1.f
 Environment intensity multiplier.
Float32 Exposure = 0.f
 Exposure multiplier as a power of 2.
Float32 Yaw = 0.f
Bool SphereMapRow0IsNegativeY = False

Detailed Description

View environment used for image-based lighting.

Member Data Documentation

◆ pEnvironmentMap

IRadientTextureAsset* Diligent::RadientEnvironmentDesc::pEnvironmentMap = nullptr

Environment map texture asset. New views use cleared IBL maps until the asset is ready. When the environment changes, the current IBL remains active until the replacement is ready.

◆ SphereMapRow0IsNegativeY

Bool Diligent::RadientEnvironmentDesc::SphereMapRow0IsNegativeY = False

Whether row 0 of a spherical environment map represents the negative Y direction. Ignored for cube maps. This setting also applies when the skybox uses the environment.

◆ Yaw

Float32 Diligent::RadientEnvironmentDesc::Yaw = 0.f

Horizontal orientation of the environment, in radians. Rotation is around the world-up axis (+Y); positive angles rotate +X toward -Z. Applied to image-based lighting and environment-derived skyboxes.