Sha256: c6765253c20089f01f491801098eefe6b730fb66ba5fee3cc9d85e49b38e288b
Contents?: true
Size: 662 Bytes
Versions: 3
Compression:
Stored size: 662 Bytes
Contents
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "uniform samplerCube cubeMap;\n\ \n\ czm_material czm_getMaterial(czm_materialInput materialInput)\n\ {\n\ czm_material material = czm_getDefaultMaterial(materialInput);\n\ \n\ vec3 normalWC = normalize(czm_inverseViewRotation * material.normal);\n\ vec3 positionWC = normalize(czm_inverseViewRotation * materialInput.positionToEyeEC);\n\ vec3 reflectedWC = reflect(positionWC, normalWC);\n\ material.diffuse = textureCube(cubeMap, reflectedWC).channels;\n\ \n\ return material;\n\ }"; });
Version data entries
3 entries across 3 versions & 1 rubygems