- add fuzz mode to softpoly

This commit is contained in:
Magnus Norddahl 2017-04-04 01:11:55 +02:00
commit f12c42d8d1
6 changed files with 98 additions and 33 deletions

View file

@ -131,6 +131,8 @@ void PolyRenderer::RenderActorView(AActor *actor, bool dontmaplines)
if (!Viewpoint.showviewer)
Viewpoint.camera->renderflags |= RF_INVISIBLE;
ScreenTriangle::FuzzStart = (ScreenTriangle::FuzzStart + 14) % FUZZTABLE;
ClearBuffers();
SetSceneViewport();
SetupPerspectiveMatrix();