pbrParameters.js 614 B

123456789101112131415161718
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "/**\n\
  3. * Parameters for {@link czm_pbrLighting}\n\
  4. *\n\
  5. * @name czm_material\n\
  6. * @glslStruct\n\
  7. *\n\
  8. * @property {vec3} diffuseColor the diffuse color of the material for the lambert term of the rendering equation\n\
  9. * @property {float} roughness a value from 0.0 to 1.0 that indicates how rough the surface of the material is.\n\
  10. * @property {vec3} f0 The reflectance of the material at normal incidence\n\
  11. */\n\
  12. struct czm_pbrParameters\n\
  13. {\n\
  14. vec3 diffuseColor;\n\
  15. float roughness;\n\
  16. vec3 f0;\n\
  17. };\n\
  18. ";