ok, so if I ‘take a cubemap snapshot’ every 20th or 30th frame your method should work? (I am not looking for animation on the cubemap texture anyway)
PS like this or close to :
var asset = this.app.assets.get(26314379); //Getting the CubeMap
var texture = this.app.assets.resource;
var renderTarget = new pc.RenderTarget(this.app.graphicsDevice, texture, {
face: 0
});
var cam = this.app.root.findByName(“Camera2”);
renderTarget.face[0] =cam.renderTarget;
asset.loadFaces = true;
this.app.assets.load(asset); // taken from ☑ How to change the scene skybox
this.app.setSkybox(renderTarget.face[0]);
(still getting/having a little trouble with above)