mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-08 21:57:05 +02:00
Fix for color bytes.
This commit is contained in:
parent
d28da9250f
commit
f0e4e034b6
1 changed files with 1 additions and 1 deletions
|
@ -1970,7 +1970,7 @@ bool HeightfieldRegionVisitor::postVisit(MetavoxelInfo& info) {
|
||||||
signedLeftShift(_inheritedColorSize, _inheritedColorDepth - _depth) + HeightfieldBuffer::SHARED_EDGE,
|
signedLeftShift(_inheritedColorSize, _inheritedColorDepth - _depth) + HeightfieldBuffer::SHARED_EDGE,
|
||||||
_containedColorDepth == -1 ? 0 :
|
_containedColorDepth == -1 ? 0 :
|
||||||
signedLeftShift(_containedColorSize, _containedColorDepth - _depth) + HeightfieldBuffer::SHARED_EDGE);
|
signedLeftShift(_containedColorSize, _containedColorDepth - _depth) + HeightfieldBuffer::SHARED_EDGE);
|
||||||
int colorContentsSize = extendedColorSize * extendedColorSize;
|
int colorContentsSize = extendedColorSize * extendedColorSize * DataBlock::COLOR_BYTES;
|
||||||
|
|
||||||
int extendedMaterialSize = qMax(_inheritedMaterialDepth == -1 ? 0 :
|
int extendedMaterialSize = qMax(_inheritedMaterialDepth == -1 ? 0 :
|
||||||
signedLeftShift(_inheritedMaterialSize, _inheritedMaterialDepth - _depth) + HeightfieldBuffer::SHARED_EDGE,
|
signedLeftShift(_inheritedMaterialSize, _inheritedMaterialDepth - _depth) + HeightfieldBuffer::SHARED_EDGE,
|
||||||
|
|
Loading…
Reference in a new issue