neo pipelines

This commit is contained in:
aap
2020-08-18 10:58:15 +02:00
parent e1ca6c6b79
commit c556cbbbe0
61 changed files with 3723 additions and 18 deletions

View File

@@ -3,6 +3,7 @@
#include "General.h"
#include "Camera.h"
#include "ModelInfo.h"
#include "custompipes.h"
#define LOD_DISTANCE (300.0f)
@@ -75,6 +76,10 @@ CSimpleModelInfo::SetAtomic(int n, RpAtomic *atomic)
RpGeometry *geo = RpAtomicGetGeometry(atomic);
RpGeometrySetFlags(geo, RpGeometryGetFlags(geo) & ~rpGEOMETRYLIGHT);
}
#ifdef EXTENDED_PIPELINES
CustomPipes::AttachWorldPipe(atomic);
#endif
}
void