24 lines
965 B
Plaintext
24 lines
965 B
Plaintext
/*
|
|
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
|
|
* its licensors.
|
|
*
|
|
* For complete copyright and license terms please see the LICENSE at the root of this
|
|
* distribution (the "License"). All use of this software is governed by the License,
|
|
* or, if provided, by the license below or the license accompanying this file. Do not
|
|
* remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
*
|
|
*/
|
|
|
|
// This should match the value in LuminanceHistogramGeneratorPass.cpp
|
|
#define NUM_HISTOGRAM_BINS 128
|
|
|
|
// Returns the exposure-value range used by the luminance heatmap/histogram
|
|
float2 GetEvDisplayRangeMinMax()
|
|
{
|
|
// [GFX TODO][ATOM-13226] - query Jonny G. to ask how he likes a hardcoded system or if he wants
|
|
// it coming from the Editor (or maybe even computed automatically from scene min/max)
|
|
return float2(-8, 16);
|
|
}
|
|
|