screenspace_general_8tex
Description
This is an experiment in shader inheritance. This is the same as screenspace_general, but binds 8 texture samplers. For more information about creating custom shaders, see the Custom Shaders reference page.
This was recently added in version (2025.12.01). It might only be available on the Dev Branch right now.
Parameters
string PIXSHADER
Your supplied custom pixel shader. Must have
_ps20 postfix at the end. If you want to use SM3.0 pixel shaders you must also pass a SM3.0 vertex shader, otherwise you are limited to SM2.0b.Default: ""
string VERTEXSHADER
Your supplied custom vertex shader. Must have
_vs20 or _vs30 postfix at the end.Default: ""
boolean LINEARREAD_BASETEXTURE
Whether to linearly read the textures color or to apply gamma correction.
Default: false
boolean LINEARREAD_TEXTURE1
Whether to linearly read the textures color or to apply gamma correction.
Default: false
boolean LINEARREAD_TEXTURE2
Whether to linearly read the textures color or to apply gamma correction.
Default: false
boolean LINEARREAD_TEXTURE3
Whether to linearly read the textures color or to apply gamma correction.
Default: false
boolean LINEARREAD_TEXTURE4
Whether to linearly read the textures color or to apply gamma correction.
Default: false
boolean LINEARREAD_TEXTURE5
Whether to linearly read the textures color or to apply gamma correction.
Default: false
boolean LINEARREAD_TEXTURE6
Whether to linearly read the textures color or to apply gamma correction.
Default: false
boolean LINEARREAD_TEXTURE7
Whether to linearly read the textures color or to apply gamma correction.
Default: false
boolean LINEARWRITE
Whether to linearly write the textures color or to apply gamma correction.
Default: false
Garry's Mod
Rust
Steamworks
Wiki Help