From Unvanquished
Jump to: navigation, search

Elderly Man chasing a granger.svg

Page out of date
Some of this content is out of date.

Querying loaded data

The command imagelist can be used to output a list of all loaded image files. This command does not support sorting output.

The command shaderlist can be used to output a list of all shaders. shaderlist accepts an optional parameter that will filter results by matching against the shader name, starting from the beginning. An example of output from shaderlist follows:

]\shaderlist texture
1 3D_S                  SS_OPAQUE           IA : textures/arachnid2/e6dmetal
1 3D_S                  SS_OPAQUE           IA : textures/arachnid2/dark_metal
1 3D_S                  SS_OPAQUE           IA : textures/arachnid2/cement_1_gunky
1 3D_S                  SS_OPAQUE           IA : textures/arachnid2/cement_1_clean
Information 48x48.png

Note: Developer Note

This information may be safely disregarded by mappers and artists.
The output of shaderlist is generated by R_ShaderList_f(), which may be found in src/engine/rendererGL/tr_shader.c.

The columns output by shaderlist are as follows:

  • The number of stages the shader has. 🚧️ TODO: What does this mean?
  • One of the following: 🚧️ TODO: Figure out what these mean.
    • 2D
    • 3D_D
    • 3D_S
    • ATTN
  • One of the following:
    • An empty space.
    • lighting_DB
    • lighting_DBS
    • reflection_CB
  • One of the following:
    • An empty space.
    • G
    • E
  • One of the following:
    • An empty space.
    • SS_BAD
    • SS_BLEND0
    • SS_BLEND1
    • SS_BLEND2
    • SS_BLEND3
    • SS_BLEND6
    • SS_CLOSE
    • SS_DECAL
    • SS_FAR
    • SS_FOG
    • SS_WATER
  • One of the following:
    • An empty space.
    • IA
  • The shader name. The text "(DEFAULTED)" will be appended to the shader name if it cannot be found.