Skip to content

[All] add cl_no_texture_stream to toggle texture streaming without needing to add -no_texture_stream to launch options #1491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

Bitl
Copy link
Contributor

@Bitl Bitl commented Aug 13, 2025

Description

Closes ValveSoftware/Source-1-Games#4884*

Since the Tough Break update in 2015, Source 2013 got texture streaming, which aims to improve performance when loading certain textures in. However, this causes some issues:

  • Decreased texture quality when first loading a model
  • Slower loading times

-no_texture_stream is the primary option to disable this feature, however it isn't in ConVar form. I added cl_no_texture_stream to add this option automatically on bootup before the client dll loads other modules, enabling users to toggle this setting without messing around with launch options.

*However, this isn't a replacement for -no_texture_stream, as it requires a restart when enabling it. Adding a ConVar that toggles texture steaming dynamically is the best option, but requires access to the materialsystem module code to do so. This implementation is the best possible way to implement this kind of option with the SDK codebase.

This also improves the formatting of other ConVars in the cdll_client_int file.

@Bitl Bitl changed the title [All] add cl_no_texture_stream to toggle texture streaming [All] add cl_no_texture_stream to toggle texture streaming without needing to add -no_texture_stream to launch options Aug 13, 2025
@Bitl
Copy link
Contributor Author

Bitl commented Aug 14, 2025

Closing this as this method seems ineffective through testing

@Bitl Bitl closed this Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TF2] Feature Request: Clearer way to disable texture streaming
1 participant