Added shaders for PBR IBL irradiance cube map generation

This commit is contained in:
saschawillems 2017-04-19 20:29:39 +02:00
parent 4653676522
commit a86c707172
5 changed files with 60 additions and 1 deletions

View file

@ -800,7 +800,9 @@ public:
// Pipeline layout
struct PushBlock {
glm::mat4 mvp;
float sampleDelta = 0.05f;
// Sampling deltas
float deltaPhi = (2.0f * M_PI) / 180.0f;
float deltaTheta = (0.5f * M_PI) / 64.0f;
} pushBlock;
VkPipelineLayout pipelinelayout;