mirror of
https://github.com/halpz/re3.git
synced 2025-07-23 22:49:45 +00:00
neo pipelines
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#include "Shadows.h"
|
||||
#include "PointLights.h"
|
||||
#include "Renderer.h"
|
||||
#include "custompipes.h"
|
||||
|
||||
bool gbShowPedRoadGroups;
|
||||
bool gbShowCarRoadGroups;
|
||||
@ -96,8 +97,12 @@ CRenderer::RenderOneRoad(CEntity *e)
|
||||
return;
|
||||
if(gbShowCollisionPolys)
|
||||
CCollision::DrawColModel_Coloured(e->GetMatrix(), *CModelInfo::GetModelInfo(e->GetModelIndex())->GetColModel(), e->GetModelIndex());
|
||||
else
|
||||
else{
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
CustomPipes::AttachGlossPipe(e->GetAtomic());
|
||||
#endif
|
||||
e->Render();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
@ -232,6 +237,11 @@ CRenderer::RenderEverythingBarRoads(void)
|
||||
if(e->IsBuilding() && ((CBuilding*)e)->GetIsATreadable())
|
||||
continue;
|
||||
|
||||
#ifdef EXTENDED_PIPELINES
|
||||
if(CustomPipes::bRenderingEnvMap && (e->IsPed() || e->IsVehicle()))
|
||||
continue;
|
||||
#endif
|
||||
|
||||
if(e->IsVehicle() ||
|
||||
e->IsPed() && CVisibilityPlugins::GetClumpAlpha((RpClump*)e->m_rwObject) != 255){
|
||||
if(e->IsVehicle() && ((CVehicle*)e)->IsBoat()){
|
||||
|
Reference in New Issue
Block a user