载入中...
搜索中...
未找到
eve::graphics::fog::AnalyticalVolLight类 参考

Analytic volumetric light: ray ∩ capped frustum, depth-clipped short integral. 更多...

#include <AnalyticalVolLight.h>

Public 成员函数

Result< FogRayResult > integrate (const AnalyticBeam &beam, const FogProfile &profile, const glm::vec3 &origin, const glm::vec3 &direction, float sceneDepth, int segments, float mediumDensity) const
 Integrate the beam contribution along a view ray.
 

静态 Public 成员函数

static std::optional< FogRayInterval > intersectBeam (const glm::vec3 &origin, const glm::vec3 &direction, const AnalyticBeam &beam)
 Intersect a view ray with a capped beam; empty on miss.
 

详细描述

Analytic volumetric light: ray ∩ capped frustum, depth-clipped short integral.

Segment counts of 2 / 4 / 8 map to Fast / Enhanced / PhysicalReference budgets.

在文件 AnalyticalVolLight.h 第 36 行定义.

成员函数说明

◆ integrate()

◆ intersectBeam()

std::optional< FogRayInterval > eve::graphics::fog::AnalyticalVolLight::intersectBeam ( const glm::vec3 &  origin,
const glm::vec3 &  direction,
const AnalyticBeam &  beam 
)
static

该类的文档由以下文件生成: