Dynamic reflexion and light from cubemap?

Hello , i use this code to add a enviroement Cubemap , everything is ok , but i dont get dynamic reflexion between objets , and no lighting come from the cubemap :

var r = ‘hdr/’;
var urls = [ r + “px.png”, r + “nx.png”,
r + “py.png”, r + “ny.png”,
r + “pz.png”, r + “nz.png” ];

var textureCube = new THREE.CubeTextureLoader().load( urls );
textureCube.format = THREE.RGBFormat;
scene.background=textureCube;

i find this exemple but i dont find the source code : https://threejs.org/examples/webgl_materials_cubemap_dynamic2.html

So , i have 3 questions please :
1- How to apply a dynamic reflexion between objects
2- How to get lighting from the Cubamap
3- How i can add RGBEloaderle instead of the cube texture ( the code above)

Thanks a lots !

There you go :blush:

https://github.com/mrdoob/three.js/blob/master/examples/webgl_materials_cubemap_dynamic2.html

The following example uses RGBELoader:

https://threejs.org/examples/webgl_materials_envmaps_hdr.html

I’m not sure what kind of answer you are looking for. Can you please explain a little bit your expectations?