mirror of
https://github.com/overte-org/overte.git
synced 2025-07-14 20:36:38 +02:00
20 lines
364 B
Text
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 !>
|
|
//
|