16 #ifndef SURGSIM_BLOCKS_SHADOWMAPPING_H 17 #define SURGSIM_BLOCKS_SHADOWMAPPING_H 44 static const std::string GROUP_SHADOW_CASTER =
"Shadowing";
45 static const std::string GROUP_SHADOW_RECEIVER =
"Shadowed";
67 std::shared_ptr<Framework::Component> camera,
68 std::shared_ptr<Framework::Component> light,
70 int shadowTextureSize,
71 std::array<double, 6> lightCameraProjection,
Definition: CompoundShapeToGraphics.cpp:29
std::vector< std::shared_ptr< Framework::SceneElement > > createShadowMapping(std::shared_ptr< Framework::Component > camera, std::shared_ptr< Framework::Component > light, int depthTextureSize, int shadowTextureSize, std::array< double, 6 > lightCameraProjection, double bias, double intensity, bool useBlur, double blurRadius, bool showDebug)
Builds a series of SceneElements enabling the rendering of shadows, all graphics object that should c...
Definition: ShadowMapping.cpp:182