Handle custom samplers

This commit is contained in:
Jan
2022-04-15 16:34:44 +02:00
parent 65c9267b06
commit 9990338130
3 changed files with 34 additions and 3 deletions

View File

@ -950,6 +950,15 @@ namespace IW4
TEXTURE_SRC_CODE_COUNT
};
enum CustomSamplers
{
CUSTOM_SAMPLER_REFLECTION_PROBE = 0x0,
CUSTOM_SAMPLER_LIGHTMAP_PRIMARY = 0x1,
CUSTOM_SAMPLER_LIGHTMAP_SECONDARY = 0x2,
CUSTOM_SAMPLER_COUNT
};
struct CodeSamplerSource
{
const char* name;