Maybe I did not express myself good, let me clarify better.
Usefulness or different use cases aside, what I was talking about was the possibility to statically set the wrap mode by using a facility already in place in retroarch that i didn’t considered in the first place when i added the support for changing the wrap mode in koko-aio.
That feature lives in the .slangp so it is part of the preset and does not require changes to the shader code; hence, if we exckude the handyness of changing the wrap mode at runtime, you can retain the same functionalities as before without deviating from upstream which, for clarification, is and remains 100% your choice (it does not change much for me).
That said, if you take a look to the main koko-aio.slangp preset, the parent referenced by descendants presets, you can see what I’m talking about:
- bg_under_wrap_mode = “mirrored_repeat”
- bg_over_wrap_mode = “mirrored_repeat”
…those directives live in preset files and like any other directive can be overridden by a descendant preset.
So if you include something like:
bg_under_wrap_mode = “clamp_to_edge” (or clamp_to_border), in your own presets, you should achieve what you’re after.
Sorry for the long post, I hope to have at least hit the spot.