载入中...
搜索中...
未找到
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.h 第 15 行定义.
类成员变量说明
◆ maxLayers
| float eve::graphics::ParallaxParams::maxLayers = 32.f |
在文件 ParallaxMap.h 第 18 行定义.
◆ minLayers
| float eve::graphics::ParallaxParams::minLayers = 8.f |
在文件 ParallaxMap.h 第 17 行定义.
◆ scale
| float eve::graphics::ParallaxParams::scale = 0.f |
在文件 ParallaxMap.h 第 16 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/ParallaxMap.h