Skip to content

Commit

Permalink
Height map cvar
Browse files Browse the repository at this point in the history
  • Loading branch information
vs-shirokii committed Dec 25, 2023
1 parent 828c65d commit bdf949b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/rendering/rt/rt_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ namespace cvar
RT_CVAR( rt_spectre_invis1, 0, "render first-person weapons, viewer invisibility as: 0 - water, 1 - glass, 2 - mirror" )

RT_CVAR( rt_normalmap_stren, 1.f, "normal map influence" )
RT_CVAR( rt_heightmap_stren, 1.f, "height map influence" )
RT_CVAR( rt_emis_mapboost, 200.f, "indirect illumination emissiveness" )
RT_CVAR( rt_emis_maxscrcolor, 10.f, "burn on-screen emissive colors" )
RT_CVAR( rt_emis_additive_dflt, 0.5f, "emission value for objects with additive blending" )
Expand Down Expand Up @@ -2259,6 +2260,7 @@ void RTFrameBuffer::RT_DrawFrame()
.emissionMapBoost = cvar::rt_emis_mapboost,
.emissionMaxScreenColor = cvar::rt_emis_maxscrcolor,
.minRoughness = cvar::rt_refl_thresh,
.heightMapDepth = 0.02f * cvar::rt_heightmap_stren,
};

auto bloom_params = RgDrawFrameBloomParams{
Expand Down

0 comments on commit bdf949b

Please sign in to comment.