Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Baby 3D Plugin for Construct 2

Make 3D games in Construct 2 powered by Babylon.js · By Pixel Rebirth

Render speed & distance

A topic by Construct2notbadnow created 65 days ago Views: 52 Replies: 1
Viewing posts 1 to 2

Hello pixel rebirth, I tested your plugin by loading a complex 3d model for rendering, probably due to the complex shader structure instead of a simple texture. In short, I noticed that the fps only dropped when I was looking at the model up close, but there were no visible fps drops from a distance. I would like to ask why the distance affects the rendering speed. Is it because the model needs to be rendered on a smaller number of pixels on the screen, or is it because the engine can adjust the rendering quality based on the distance?

Developer

In short: No, Babylon.js does NOT automatically do something like adjusting rendering quality based on distance.

I'm no expert but it might simply be that the fragment processing cost is lower when the model occupies a smaller part of the screen while it becomes more expensive when it's in full view close up. Which would be expected to a certain extent and you also mentioned ("smaller number of pixels on screen").

Of course I do not know what kind of model you're using and what hardware you're running. In most usual cases I wouldn't be expecting a huge difference though.