载入中...
搜索中...
未找到
eve::graphics::ParallaxParams结构体 参考

CPU reference for simple offset parallax (matches the scale / height convention of parallax_map.glsl POM; used by unit tests, not the GPU path). 更多...

#include <ParallaxMap.h>

Public 属性

float scale = 0.f
 
float minLayers = 8.f
 
float maxLayers = 32.f
 

详细描述

CPU reference for simple offset parallax (matches the scale / height convention of parallax_map.glsl POM; used by unit tests, not the GPU path).

Height: white (1) = raised toward viewer. Depth = 1 - height. viewDirTS: tangent-space view direction (toward camera), typically normalized.

在文件 ParallaxMap.h15 行定义.

类成员变量说明

◆ maxLayers

float eve::graphics::ParallaxParams::maxLayers = 32.f

在文件 ParallaxMap.h18 行定义.

◆ minLayers

float eve::graphics::ParallaxParams::minLayers = 8.f

在文件 ParallaxMap.h17 行定义.

◆ scale

float eve::graphics::ParallaxParams::scale = 0.f

在文件 ParallaxMap.h16 行定义.


该结构体的文档由以下文件生成: