ChunFengTsin
Hi, every one,
I am reading the source code of Urho3D,
When I read this at View.cpp :
void View::GetLitBatches(Drawable* drawable, LightBatchQueue& lightQueue, BatchQueue* alphaQueue)
{
Light* light = lightQueue.light_;
Zone* zone = GetZone(drawable);
const Vector<SourceBatch>& batches = drawable->GetBatches();
bool allowLitBase =
useLitBase_ && !lightQueue.negative_ && light == drawable->GetFirstLight() && drawable->GetVertexLights().Empty() &&
!zone->GetAmbientGradient();
I don’t know what’s the means about allowLitBase
, what is the purpose of it ?