Open Tiagoquix opened 2 months ago
There's still an option to play with OpenGL, so they're probably there for legacy reasons.
gl_clear
and gl_clear_randomcolor
are part of the engine and work on all platforms.
The others are OpenGL-specific and still exist since, as JoriKos mentioned, it is still possible to run the game in OpenGL mode.
Yes, I understand that the game can still be run with the legacy OpenGL version, but these commands, apparently, could be removed from the Vulkan version of the game (except gl_clear
and gl_clear_randomcolor
, I think).
Various others commands were removed from the Vulkan version. Here are some of them: https://github.com/mastercomfig/mastercomfig/commit/6df1625cf99cb264bd0ea0598bcc19ffbd003b88#diff-ec8350dbafd5f05e2e869a0d285316d12033896717bb7c40d65664968cdfa39d
Yes, I understand that the game can still be run with the legacy OpenGL version, but these commands, apparently, could be removed from the Vulkan version of the game (except
gl_clear
andgl_clear_randomcolor
, I think).Various others commands were removed from the Vulkan version. Here are some of them: mastercomfig/mastercomfig@6df1625#diff-ec8350dbafd5f05e2e869a0d285316d12033896717bb7c40d65664968cdfa39d
This is mastercomfig, which has nothing to do with TF2 itself. mastercomfig has been removing OpenGL-based optimizations for some reason. I'm not sure why since people needing a config to run the game properly may have GPUs that don't support Vulkan 1.3 and thus have to run the game without OpenGL but that's something on their side, not Valve's.
What I mean by citing mastercomfig is that those gl cvars were present before the Vulkan update, and they have been removed since then, so that's why I believe the rest of the gl cvars and commands can be removed as well.
Here's a TF2 cvar list with a bunch of gl_ cvars, and many of them do not exist anymore in the Vulkan version: https://docs.mastercomfig.com/latest/tf2/cvarlist_linux/
Considering the new TF2 update that uses Vulkan as render instead of OpenGL, are all
gl_*
ConVars deprecated?If so, I imagine they could be removed from the game.