MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRViewer/MRShadowsGL.h>

Public Member Functions

 MR_ADD_CTOR_DELETE_MOVE (ShadowsGL)
 ~ShadowsGL ()
void enable (bool on)
 subscribe to viewer events on enable, unsubscribe on disable
bool isEnabled () const
const Vector2f & getShadowShift () const
 shift in screen space
void setShadowShift (const Vector2f &shift)
const Vector4f & getShadowColor () const
void setShadowColor (const Vector4f &color)
float getBlurRadius () const
void setBlurRadius (float radius)
float getQuality () const
void setQuality (float quality)

Detailed Description

This class allows do draw shadows for objects in scene draws scene into texture buffer, than make shadow from: draw shadow and than draw texture with scene


The documentation for this class was generated from the following file: