Environment map renderer attributes. More...
#include <EnvMapRenderer.hpp>
Public Attributes | |
| ITextureView * | pEnvMap = nullptr |
| Environment map cube map or sphere map. | |
| float | AverageLogLum = 1 |
| Average log luminance for tone mapping. | |
| float | MipLevel = 0 |
| Mip level of the environment map to use. | |
| float | Alpha = 1 |
| Alpha value to write to the output render target. | |
| OPTION_FLAGS | Options = OPTION_FLAG_NONE |
| Option flags. | |
| float3 | Scale = {1, 1, 1} |
| Scaling factor to apply to the environment map. | |
| float | Yaw = 0 |
| float4 | SphereMapUVScaleBias = {1, 1, 0, 0} |
| float | SphereMapSlice = 0 |
| bool | SphereMapRow0IsNegativeY = false |
Environment map renderer attributes.
| bool Diligent::EnvMapRenderer::RenderAttribs::SphereMapRow0IsNegativeY = false |
Whether row 0 of a sphere map represents the negative Y direction. Ignored for cube maps.
| float Diligent::EnvMapRenderer::RenderAttribs::SphereMapSlice = 0 |
Array slice containing a sphere map. Ignored for cube and Texture2D source views.
| float4 Diligent::EnvMapRenderer::RenderAttribs::SphereMapUVScaleBias = {1, 1, 0, 0} |
UV scale and bias used to address a sphere map in its backing texture. The identity transform samples the full image.
| float Diligent::EnvMapRenderer::RenderAttribs::Yaw = 0 |
Horizontal orientation of the environment, in radians. Rotation is around the positive Y axis; positive angles rotate +X toward -Z.