struct mrpt::opengl::CompiledViewport::PointShadowCube

Overview

A cube shadow map in m_pointShadowArrayTexId.

struct PointShadowCube
{
    // fields

    int lightIndex = -1;
    float zNear = 0;
    float zFar = 0;
    std::array<uint64_t, 6> faceSignatures {};
};

Fields

int lightIndex = -1

Index in m_lightParams.lights.

std::array<uint64_t, 6> faceSignatures {}

Of the light and the objects in each face frustum, to reuse faces.