shadowmage45 / TUFX

Textures Unlimited Special Effects
Other
24 stars 10 forks source link

Add Runtime Texture Parameter Editing #2

Closed shadowmage45 closed 4 years ago

shadowmage45 commented 4 years ago

Need to provide a list of select-able textures for each texture parameter, and present this list to users to select from. E.G. Lens Dirt textures can't be used for LUT, and vice-versa; each function/parameter requires its own specific, specially created, set of textures.

How to compile this list of textures? Config files where users can add their own?

TUFX_TEXTURES
{
    //multiple TUFX_TEXTURE nodes can exist; all of them will be loaded and parsed into the same internal (per-effect, per-property) storage
    //so this name only exists for ModuleManager patching purposes
    name = Builtin
    //each effect will have its textures listed inside of an EFFECT node...
    EFFECT
    {
        //the name of the effect to which this set of applicable textures belongs to
        name = Bloom

        //property name = texture for property
        //multiple entries can exist for each property, each entry defining an additional texture to be made available.
        DirtTex = GameData/TUFX/Textures/DirtTex001
        DirtTex = GameData/TUFX/Textures/DirtTex002
    }
    //
    EFFECT
    {
        name = ColorGrading
        ExternalLut = GameData/TUFX/Textures/CGLut001
        ExternalLut = GameData/TUFX/Textures/CGLut002
    }
}
shadowmage45 commented 4 years ago

Feature added and functional. Needs cleanup and documentation. Could possibly use merging into the main-window as an additional render 'mode' for the window.