overte/libraries/render-utils/src/BloomThreshold.shared.slh
2024-02-24 23:26:34 -08:00

20 lines
364 B
Text

// glsl / C++ compatible source as interface for BloomThreshold
#ifdef __cplusplus
# define BT_VEC2 glm::vec2
#else
# define BT_VEC2 vec2
#endif
struct Parameters
{
BT_VEC2 _deltaUV;
float _offset;
float _threshold;
int _sampleCount;
float _padding[3];
};
// <@if 1@>
// Trigger Scribe include
// <@endif@> <!def that !>
//