File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 33
44#include "shared\common.h"
55
6- // include "common_defines.h"
6+ # include "common_defines.h"
77//include "common_policies.h"
88#include "common_iostructs.h"
99#include "common_samplers.h"
Original file line number Diff line number Diff line change 1+ #ifndef common_defines_h_included
2+ #define common_defines_h_included
3+
4+ //////////////////////////////////////////////////////////////////////////////////////////
5+ // Defines //
6+ #define def_gloss float(2.f /255.f)
7+ #define def_aref float(200.f/255.f)
8+ #define def_dbumph float(0.333f)
9+ #define def_virtualh float(0.05f) // 5cm
10+ #define def_distort float(0.05f) // we get -0.5 .. 0.5 range, this is -512 .. 512 for 1024, so scale it
11+ #define def_hdr float(9.f) // hight luminance range float(3.h)
12+ #define def_hdr_clip float(0.75f) //
13+
14+ #define LUMINANCE_VECTOR float3(0.3f, 0.38f, 0.22f)
15+
16+ //////////////////////////////////////////////////////////////////////////////////////////
17+ #ifndef SMAP_size
18+ #define SMAP_size 1024
19+ #endif
20+ #define PARALLAX_H 0.02
21+ #define parallax float2(PARALLAX_H, -PARALLAX_H/2)
22+ //////////////////////////////////////////////////////////////////////////////////////////
23+
24+ #endif // common_defines_h_included
You can’t perform that action at this time.
0 commit comments