mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-17 19:10:32 -05:00
Cleaned code and removed unused features.
This commit is contained in:
@@ -54,16 +54,12 @@ namespace {
|
||||
"mainColorTexture", "blackoutFactor", "nAaSamples"
|
||||
};
|
||||
|
||||
constexpr const std::array<const char*, 13> HDRUniformNames = {
|
||||
constexpr const std::array<const char*, 12> HDRUniformNames = {
|
||||
"hdrFeedingTexture", "blackoutFactor", "hdrExposure", "gamma",
|
||||
"toneMapOperator", "aveLum", "maxWhite", "Hue", "Saturation", "Value",
|
||||
"toneMapOperator", "maxWhite", "Hue", "Saturation", "Value",
|
||||
"Lightness", "colorSpace", "nAaSamples"
|
||||
};
|
||||
|
||||
constexpr const std::array<const char*, 4> TMOUniformNames = {
|
||||
"hdrSampler", "key", "Ywhite", "sat"
|
||||
};
|
||||
|
||||
constexpr const char* ExitFragmentShaderPath =
|
||||
"${SHADERS}/framebuffer/exitframebuffer.frag";
|
||||
constexpr const char* RaycastFragmentShaderPath =
|
||||
@@ -1376,18 +1372,6 @@ void FramebufferRenderer::setToneMapOperator(int tmOp) {
|
||||
_toneMapOperator = tmOp;
|
||||
}
|
||||
|
||||
void FramebufferRenderer::setKey(float key) {
|
||||
_tmoKey = key;
|
||||
}
|
||||
|
||||
void FramebufferRenderer::setYwhite(float white) {
|
||||
_tmoYwhite = white;
|
||||
}
|
||||
|
||||
void FramebufferRenderer::setTmoSaturation(float sat) {
|
||||
_tmoSaturation = sat;
|
||||
}
|
||||
|
||||
void FramebufferRenderer::setHue(float hue) {
|
||||
_hue = hue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user