mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-07-06 12:02:52 +00:00
Created Monitor renderers (markdown)
parent
c2063ddc88
commit
77eb8dba8a
20
Monitor-renderers.md
Normal file
20
Monitor-renderers.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
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 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][blag].
|
||||||
|
|
||||||
|
## Common problems
|
||||||
|
|
||||||
|
### Monitors are partially white/transparent with shaders
|
||||||
|
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.
|
||||||
|
|
||||||
|
[blag]: https://squiddev.cc/2020/05/08/monitors.html "An optimised monitor renderer"
|
Loading…
x
Reference in New Issue
Block a user