This patch implements the GPU Bloom glare for the CPU compositor, and adds a new option for it, leaving the Fog Glow option unimplemented once again for the GPU compositor. Pull Request: https://projects.blender.org/blender/blender/pulls/119128
22 lines
509 B
C++
22 lines
509 B
C++
/* SPDX-FileCopyrightText: 2024 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
#include "COM_GlareBaseOperation.h"
|
|
#include "COM_NodeOperation.h"
|
|
#include "DNA_node_types.h"
|
|
|
|
namespace blender::compositor {
|
|
|
|
class GlareBloomOperation : public GlareBaseOperation {
|
|
public:
|
|
GlareBloomOperation() : GlareBaseOperation() {}
|
|
|
|
protected:
|
|
void generate_glare(float *data, MemoryBuffer *input_tile, const NodeGlare *settings) override;
|
|
};
|
|
|
|
} // namespace blender::compositor
|