[Solved] How to use envMap in ShaderMaterial based on MeshPhongMaterial

I don’t think missing envMap in ShaderMaterial is an issue. I would expect it has to be defined as uniform (and probably some defines). But I am newbie, so I might be wrong,

I updated your fiddle to present 2 cubes. One with standard MeshPhongMaterial and one with ShaderMaterial.

https://jsfiddle.net/p23rd7ft/10/