OoliteProject / oolite

The main Oolite repository.

Home Page:https://www.oolite.space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I reduce the resolution of the material of the planet?

Lufims opened this issue · comments

I don't know how to reduce the resolution, I tried to undestand the oolite-default-planet.fragment, but I don't understand nothing from it, I know how to use shaders in blender with the shaders nodes, but if it's program it, I just doesn't know how to even start to try modifing it, and I just want to reduce the resolution of the planet material, because the games lags too much, just because i'm looking at a planet, and i'm using the noshader textures addon, so, it's somewhat optimized, so, basically, I just want to know how to reduce the resolution of the planet material, and I don't know if i should be asking for help here, but, here I am. And if have an addon that do that, it wil be cool if someone say the name of it.

There are a few ways you can try to obtain some performance gains.

  • In your .GNUstepDefaults file add inside the oolite section the line max-texture-size = X;, where X would be your desired texture side length. This is internally rounded up to the nearest power of 2 and has a minimum value of 64. Textures with sides exceeding this setting will be scaled down. By default it is set to whatever your gfx driver can handle, so you may want to try values like 2048, 1024 or 512 etc. until you find one that doesn't affect performance as much. Image quality is expected to be affected, though, especially if you drop this too low and remember that it is a universal setting, so spaceship, station, asteroid textures etc. will also be affected.
  • Reduce detail level from game options. This will obviously affect graphics quality everywhere, not just planets.
  • In the universal section of planetinfo.plist, add the line perlin_3d = NO;. This does not touch texture resolution, but it flattens out land masses instead by avoiding the cpu-heavy 3d noise calculations used to generate mountains and land features, so it should help with performance. It is exclusive to planets too, so I would probably start with that.

For support questions in the future, you can also use the Oolite forum at http://www.aegidian.org/bb.

I did what you said, and reduced the resolution to 64, detail to 0, and that thing of perlin_3d, and it's still lagging, but, to be honest, it's a miracle that the game even runs on my pc, beucase I doesn't have a graphic card, just a chipset with 64mb of shared vram, and incompatible windows 10 driver, so, even if originally the chipset runs opengl 1.4, becuase of the incompatilbe drivers, it just runs opengl 1.1, and not everything works correctly, so, I think is something related to the rendering, that my chipset can't handle, because it's not just the planets, but everything that has a material or texture, when I get too close, it starts lagging, I even installed the dangerous HUD addon, and becuase of that, if I had the hud on the screen the fps would drop to 7. But anyway, thanks for the reply, il'l try the game again when I have a graphic card.