pbrParameters.glsl 481 B

12345678910111213141516
  1. /**
  2. * Parameters for {@link czm_pbrLighting}
  3. *
  4. * @name czm_material
  5. * @glslStruct
  6. *
  7. * @property {vec3} diffuseColor the diffuse color of the material for the lambert term of the rendering equation
  8. * @property {float} roughness a value from 0.0 to 1.0 that indicates how rough the surface of the material is.
  9. * @property {vec3} f0 The reflectance of the material at normal incidence
  10. */
  11. struct czm_pbrParameters
  12. {
  13. vec3 diffuseColor;
  14. float roughness;
  15. vec3 f0;
  16. };