vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
probe_data.h
1#pragma once
2
3#include <cstdint>
4
5#include <glm/glm.hpp>
6
7namespace Vkm::Engine {
8
14struct ProbeData {
15 glm::vec3 position;
16 glm::vec3 halfExtents;
17 float falloff;
18 float intensity;
19 uint32_t resolution;
20 uint32_t bakeVersion;
21
27 uint32_t entitySlot = 0;
28};
29
30} // namespace Vkm::Engine
Flattened reflection probe for the frame, blended over the global IBL in its box.
Definition probe_data.h:14
glm::vec3 halfExtents
Influence box, for parallax correction + falloff.
Definition probe_data.h:16
glm::vec3 position
World space.
Definition probe_data.h:15
uint32_t entitySlot
The entity slot this probe was gathered from; keys its baked capture.
Definition probe_data.h:27
uint32_t bakeVersion
Re-bake trigger.
Definition probe_data.h:20
uint32_t resolution
Requested capture face size.
Definition probe_data.h:19
float falloff
Fraction of the half-extent fading to the global IBL.
Definition probe_data.h:17
float intensity
Linear-HDR multiplier.
Definition probe_data.h:18