CesiumJS MaterialPack doesn't work with current CesiumJS Version

Hi, is it possible to work with the CesiumJS Material Pack with the newest Version? I already tried the pack with CesiumJS 1.0 and this worked.

When it's not possible to use the material pack, i need a code snippet fpr creating a refrecting material which is already part of the pack, (using cube map etc)


I created an issue on the MaterialPack GitHub. I’m not sure how soon anyone will have a chance to look at it though.

I’m not sure which of the materials is broken, but you might be able to pull out the reflecting material and add it to Material.js

Here is the shader: https://github.com/AnalyticalGraphicsInc/cesium-materials-pack/blob/master/Source/ReflectionMaterial.glsl

And here is the code to add it to Material.js: https://github.com/AnalyticalGraphicsInc/cesium-materials-pack/blob/master/Source/initialize.js#L207-L218

Finally, take a look at our build guide for how to fork the code base and build the code: https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Documentation/Contributors/BuildGuide