Files
Triforce-Source/gpu/vk/reshade/fx_preset.h
ruckus7382sfgsgdf 4fa4f9188b Triforce v0.8.0
Evil HD (SMAA Ultra, 16x filtering, full textures, ambient occlusion with bounce light, sunlight shafts, foliage drawn 4x as far, the remastered texture pack's loader and the launcher's download of it), FSR 3.1 frame generation for every GPU, Intel XeSS, FSR 4 model choice, ReShade presets, Auto (this PC), HUD placement, the options menu in 13 languages, a second input for every control, hold to toggle, DualSense speaker and haptics, NFC from the player's own dumps, the above-60 fps game fixes, the Debug tab's flight and Inventory fixes, the launcher's full settings, and over 250 fixes.
2026-11-25 10:21:32 -06:00

29 lines
851 B
C++

#pragma once
#include "fx_compile.h"
#include <map>
#include <string_view>
namespace tf::reshade {
struct FxTechnique {
std::string name, shader;
bool operator==(const FxTechnique&) const = default;
};
using FxPresetSection = std::map<std::string, std::string, std::less<>>;
struct FxPreset {
bool linear_hdr = false;
std::vector<FxTechnique> techniques;
FxDefinitions definitions;
std::map<std::string, FxPresetSection, std::less<>> shader_options;
};
std::optional<FxPreset> parse_preset(std::string_view text, std::string& diagnostics);
std::optional<FxPreset> load_preset(const std::filesystem::path& root, const std::filesystem::path& name,
std::string& diagnostics);
FxDefinitions preset_definitions(const FxPreset& preset, std::string_view shader);
} // namespace tf::reshade