|
@@ -338,7 +338,7 @@ class MeshBatch extends MultiMaterial {
|
|
if ( meshBatchFlags != flags )
|
|
if ( meshBatchFlags != flags )
|
|
shadersChanged = true;
|
|
shadersChanged = true;
|
|
meshBatchFlags = flags;
|
|
meshBatchFlags = flags;
|
|
- meshBatchFlags.setTo( EnableStorageBuffer, enableLOD || enableGPUCulling || useStorageBuffer );
|
|
|
|
|
|
+ meshBatchFlags.setTo( EnableStorageBuffer, mustCalcBufferFormat || useStorageBuffer );
|
|
}
|
|
}
|
|
|
|
|
|
instanceCount = 0;
|
|
instanceCount = 0;
|