Rendering OccludeModels when in Occlusion mode

This commit is contained in:
dexy
2018-12-15 04:09:02 +11:00
Unverified
parent ca7f270c5c
commit 3533260884
4 changed files with 78 additions and 13 deletions
+9
View File
@@ -1433,6 +1433,15 @@ namespace CodeWalker.Rendering
}
}
public void RenderBasePath(BasePathData basepath)
{
RenderablePathBatch rnd = renderableCache.GetRenderablePathBatch(basepath);
if ((rnd != null) && (rnd.IsLoaded))
{
shaders.Enqueue(rnd);
}
}
public void RenderScenarios(List<YmtFile> ymts)
{
foreach (var scenario in ymts)