beyond-all-reason / beyond-all-reason/RecoilEngine

Consider whether MaxTextureAtlasSize should be a springsetting

Open
#1,104 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

- If MaxTextureAtlasSize is set too low, the ceg loading fails somehow and all ceg images are black squares.
- As far as I can tell there is no reason for MaxTextureAtlasSize to be set higher than necessary.
- Games have poor control over Springsettings, especially ones that must be set upon loading.

This raises the question of whether MaxTextureAtlasSize should be a modrule, or even just detected by the engine automatically (if it is reasonably cheap to do while loading). ZK has pretty good control of springsettings, but any mod that wants more texture space has no hope. Any game that supports more than one lobby is going to have trouble using anything beyond the default.

This is more a future proofing ticket than anything urgent.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing MaxTextureAtlasSize through the CEG loading path and comparing SpringSettings with modrules; done means the project has an agreed, validated way to avoid black CEG images while supporting games and mods with differing texture needs.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.