Added shaders for PBR IBL irradiance cube map generation
This commit is contained in:
parent
4653676522
commit
a86c707172
5 changed files with 60 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue