PeriDyno 1.0.0
Loading...
Searching...
No Matches
ShadowMap.cpp File Reference
#include "ShadowMap.h"
#include "GLVisualModule.h"
#include <SceneGraph.h>
#include <Action.h>
#include <glad/glad.h>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <array>
#include "screen.vert.h"
#include "blur.frag.h"
Include dependency graph for ShadowMap.cpp:

Go to the source code of this file.

Namespaces

namespace  dyno
 This is an implementation of AdditiveCCD based on peridyno.
 

Functions

std::array< glm::vec4, 8 > dyno::getFrustumCorners (const glm::mat4 &proj)
 
glm::mat4 dyno::getLightViewMatrix (glm::vec3 lightDir)
 
glm::mat4 dyno::getLightProjMatrix (glm::mat4 lightView, Vec3f lowerBound, Vec3f upperBound, glm::mat4 cameraView, glm::mat4 cameraProj)