Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "shaders/chunks/physical_get_material_pars_fragment"

Index

Variables

Const physical_get_material_pars_fragment

physical_get_material_pars_fragment: "ObjectSpaceRaymarchPhysicalMaterial getMaterial(vec3 position, vec3 worldPosition, vec3 worldNormal) {ObjectSpaceRaymarchPhysicalMaterial material;material.diffuse = diffuse;material.emissive = emissive;material.metalness = metalness;material.roughness = roughness;#ifdef REFLECTIVITYmaterial.reflectivity = reflectivity;#endif#ifdef CLEARCOATmaterial.clearcoat = clearcoat;material.clearcoatRoughness = clearcoatRoughness;#endifreturn material;}" = `ObjectSpaceRaymarchPhysicalMaterial getMaterial(vec3 position, vec3 worldPosition, vec3 worldNormal) {ObjectSpaceRaymarchPhysicalMaterial material;material.diffuse = diffuse;material.emissive = emissive;material.metalness = metalness;material.roughness = roughness;#ifdef REFLECTIVITYmaterial.reflectivity = reflectivity;#endif#ifdef CLEARCOATmaterial.clearcoat = clearcoat;material.clearcoatRoughness = clearcoatRoughness;#endifreturn material;}`

Generated using TypeDoc