-
Notifications
You must be signed in to change notification settings - Fork 210
Monitor renderers
One of the most FPS intensive parts of CC: Tweaked is its monitors. In order to reduce lag as much as possible, while remaining compatible with other mods, we provide two ways to render monitors.
These can be changed through the monitor_renderer
option in the computercraft-client.toml
config file.
- Texture buffer objects (TBO): This uses texture buffer objects and a custom shader to render the monitor. This is extremely fast, but not may work when using Optifine or on older graphics cards.
- Vertex buffer objects (VBO): This is a more traditional renderer using vertex buffers. This is somewhat slower than TBOs for normal rendering, and significantly slower when monitors update. However, it is compatible with everything.
- Best: This is the default. It will use TBOs if the graphics card supports it, falling back to VBOs if needed.
A more technical description of the various backends may be found on this blogpost.
When using shaders, monitors may appear incredibly pale or transparent:
This is a problem with how shaders work with the TBO renderer. Switching to the VBO renderer should fix it.
This was caused by a bug in the monitor shader. Updating to CC: T 1.91.3 (or later) should fix this. If you're on an older version of CC:T, switching to the VBO renderer will also resolve the issue.