/*------------------.
| :: Description :: |
'-------------------/

    stalker2map (version 1.3)

    Author: https://t.me/alexz15
    Mod page: https://www.nexusmods.com/stalker2heartofchornobyl/mods/450

    About:
    Adds a map texture to the ReShadeUEToolsItemSpawner addon for teleporting to any location.
*/

#include "ReShade.fxh"

#ifndef LAYER_SOURCE
#define LAYER_SOURCE "stalker2map.jpg"
#endif
#ifndef LAYER_SIZE_X
#define LAYER_SIZE_X 7500
#endif
#ifndef LAYER_SIZE_Y
#define LAYER_SIZE_Y 7500
#endif

#if LAYER_SINGLECHANNEL
    #define TEXFORMAT R8
#else
    #define TEXFORMAT RGBA8
#endif

#include "ReShadeUI.fxh"

texture Stalker2map_Tex <
    source = LAYER_SOURCE;
> {
    Format = TEXFORMAT;
    Width  = LAYER_SIZE_X;
    Height = LAYER_SIZE_Y;
};

technique Stalker2map
{
    pass
    {
        VertexShader = PostProcessVS;
    }
}
