7#include <boost/signals2/connection.hpp>
42 Vector2f shadowShift_ = Vector2f( 0.0, 0.0 );
43 Vector4f shadowColor_ = Vector4f( Color::yellow() );
44 float blurRadius_{ 40.0f };
46 float quality_{ 0.25f };
49 void postResize_(
int x,
int y );
54 void drawShadow_(
bool convX );
55 void drawTexture_(
bool scene,
bool downsample );
57 boost::signals2::connection preDrawConnection_;
58 boost::signals2::connection postDrawConnection_;
59 boost::signals2::connection postResizeConnection_;
64 QuadTextureVertexObject quadObject_;
66 FramebufferData sceneFramebuffer_;
67 FramebufferData lowSizeFramebuffer_;
68 FramebufferData convolutionXFramebuffer_;
70 bool enabled_{
false };
Definition MRShadowsGL.h:16
const Vector4f & getShadowColor() const
Definition MRShadowsGL.h:29
float getQuality() const
Definition MRShadowsGL.h:38
MRVIEWER_API ~ShadowsGL()
MRVIEWER_API void setShadowShift(const Vector2f &shift)
const Vector2f & getShadowShift() const
Definition MRShadowsGL.h:26
MR_ADD_CTOR_DELETE_MOVE(ShadowsGL)
MRVIEWER_API void setBlurRadius(float radius)
MRVIEWER_API void setShadowColor(const Vector4f &color)
MRVIEWER_API void enable(bool on)
float getBlurRadius() const
Definition MRShadowsGL.h:32
MRVIEWER_API void setQuality(float quality)
bool isEnabled() const
Definition MRShadowsGL.h:23
Definition MRCameraOrientationPlugin.h:8