Trying to make a material overlay with scene color but that doesn't work with my UI, either set to UI or post process

Neither accepts scene color nodes. How do I add a material overlay that changes the color of what the player sees?

SceneTexture nodes are not supported in UI materail.

I developed a plugin named “SceneTextureForUMG”, the plugin bake SceneTextures so that they can be used for UI materials.