DaemonEngine / Daemon

The Dæmon game engine. With some bits of ioq3 and XreaL.
https://unvanquished.net
BSD 3-Clause "New" or "Revised" License
306 stars 60 forks source link

Obvious report of experimental feature enablement #1403

Open illwieckz opened 3 weeks ago

illwieckz commented 3 weeks ago

In the linux kernel, when you have at lease one single tainted module (a module not compliant with the license), it reports explicitly that a tainted module has been loaded, whatever the tainted module is loaded, and you can know a tainted module is loaded without having to read every line saying a module is being loaded, and without checking each module one by one.

So I wonder if we could do the same for experimental system features (like experimental renderer stuff that could crash the game). So maybe we can add some EXPERIMENTAL flag to some cvars like material system or GPU culling, and when related cvars are ebabled, we could print in log “experimental features are enabled!!!” or something like that.

We may even display something on the UI, like a subtle icon on a corner of the screen, so when looking at screenshots with bugs we would immediately know that at least one experimental feature is enabled.

VReaperV commented 3 weeks ago

We may even display something on the UI, like a subtle icon on a corner of the screen, so when looking at screenshots with bugs we would immediately know that at least one experimental feature is enabled.

We could also only add it when taking the screenshot, but not otherwise. Although the disadvantage of that would be that it wouldn't show up on a video recording.

illwieckz commented 3 weeks ago

That can be a simple (and very small) ! character on a corner (like the bottom right one), not very annoying.

VReaperV commented 3 weeks ago

I like having more space on my screen to actually see what's going on :p

Also, all of the corners are taken already.

illwieckz commented 3 weeks ago

Also, such extra mark could be disabled by a cvar (for doing screenshots for communication purpose), but it would be enabled by default when experimental features are enabled.

VReaperV commented 3 weeks ago

That'd work I suppose.