I've been trying for quite some time to create a Cubemap for my custom VisualShader, but cannot make it work.
I've read that Cubemaps are kinda "obsolete" in this version (in benefit of panoramas or skies o whatever), so you can't create them in 4.x, at least from editor directly. So I've made a CustomEditor with 6 slots to drag textures inside, to generate the 6 required images for a cubemap.
I'm using cubemap.create_from_images (that expects an Array[Image]), so I convert them using texture.get_image() before.
Then I create the .res using ResourceSaver.save passing the generated cubemap var, and it creates as a valid resource, I even can use it inside the Visual Shader editor, but is completely white, ignoring the images I passed by parameter in the "create_from_images" method.
Even more frustrating, is the fact that there is NO documentation about cubemaps at all. The docs only mention it briefly and describes a "create_placeholder" method that seems useless. Of course there is no tutorial about how to use a cubemap inside VisualShader editor, or even WHY you should use it, being cubemaps something that is been there for very long time in game engines, even in Godot 3.x.
In my case, I'm trying to create a very lightweight and low-detail reflection effect, and I do not want to use Panoramas or whatever high-end HDRi alternatives there may be. I just want a simple cubemap to do the trick, with a reflection that has NOTHING to do with the current scene environment. I just want to add some artistic touch to my custom shader without hitting the performance.
Does anyone has ever tried to use them successfully?