As described in the title, it is currently impossible to load a post-process shader that is not located in the minecraft namespace.
Even when attempting to load a post process shader json file directly, any pass names are immediately assumed to be in "assets/minecraft/shaders/program", and trying to specify a namespace with:
{
...
"passes": [
{
"name": "namespace:id"
}
]
...
}
results in minecraft attempting to load "assets/minecraft/shaders/program/namespace:id.json", which is not allowed and causes an exception.
The same issue occurs when attempting to specify a namespace in the program json file.
Solving this issue should result in better vanilla post-process support for resource packs if so desired, and if not would still result in much better mod compatibility as there are no extra mod libraries required.
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki