Move constants from VkLightProber to DFrameBuffer
This commit is contained in:
parent
7dc050edb0
commit
666f38ee71
4 changed files with 12 additions and 14 deletions
|
|
@ -258,7 +258,7 @@ void VkLightprober::CreateIrradianceMap()
|
|||
|
||||
bool VkLightprober::GenerateIrradianceMap(TArrayView<uint16_t>& databuffer)
|
||||
{
|
||||
const int texelCount = irrandiaceMapTexelCount;
|
||||
const int texelCount = DFrameBuffer::irrandiaceMapTexelCount;
|
||||
|
||||
if (databuffer.Size() < texelCount)
|
||||
{
|
||||
|
|
@ -405,7 +405,7 @@ void VkLightprober::CreatePrefilterMap()
|
|||
|
||||
bool VkLightprober::GeneratePrefilterMap(TArrayView<uint16_t>& databuffer)
|
||||
{
|
||||
const int texelCount = prefilterMapTexelCount;
|
||||
const int texelCount = DFrameBuffer::prefilterMapTexelCount;
|
||||
|
||||
if (databuffer.Size() < texelCount)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue