Increase render distsnce?
Opened this issue · 4 comments
The render distance seems to be lower than I remember. Particularly on Level 8: The Garbage Can and Level 10: The Park.


Now there were tutorials for how to increase the render distance in Bugdom, Otto Matic, and Nanosaur. These didn't seem to work in Bugdom 2 however. This bloke was able to do it.
Just took a look at this and works similar to Otto Matic but some levels use ad-hoc supertile active range, yon and fog, so you need to override those as well.
Change MAX_SUPERTILE_ACTIVE_RANGE to 50, add mask = 2; here to override previous mask in switch case and add these lines here, again to override values in previous switch case.
gSuperTileActiveRange = MAX_SUPERTILE_ACTIVE_RANGE;
viewDef.styles.useFog = true;
viewDef.view.clearColor.r = 1;
viewDef.view.clearColor.g = 1;
viewDef.view.clearColor.b = 1;
viewDef.view.clearBackBuffer = true;
viewDef.camera.fov = GAME_FOV;
viewDef.camera.yon = (gSuperTileActiveRange * SUPERTILE_SIZE * gTerrainPolygonSize) * .95f;
viewDef.styles.fogStart = viewDef.camera.yon * .7f;
viewDef.styles.fogEnd = viewDef.camera.yon * 1.0f;
gDrawLensFlare = true;
By the way, I had never noticed that level 10 terrain was not flat.
The water slide levels still seem to be short-sighted. Is this controlled differently?
Yeah, you need to add the same overrides in my code block after this if statement.
Will this trigger additional AI actors earlier, as it did with Otto-Matic and Bugdom 1?
Also, is there a pre-compiled build for it?





