mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Fixing the gamma correction for the debug view of occlusion
This commit is contained in:
parent
2489df8229
commit
079f6af2cc
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ static const std::string DEFAULT_NORMAL_SHADER {
|
|||
static const std::string DEFAULT_OCCLUSION_SHADER{
|
||||
"vec4 getFragmentColor() {"
|
||||
" DeferredFragment frag = unpackDeferredFragmentNoPosition(uv);"
|
||||
" return vec4(vec3(frag.obscurance), 1.0);"
|
||||
" return vec4(vec3(pow(frag.obscurance, 1.0 / 2.2)), 1.0);"
|
||||
" }"
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue