Returns the reflectance for the associated Primitive at the associated hitpoint and and for the given direction vectors.
The parameter outDir is the vector from the hit point in direction of its origin. The parameter inDir is vector from the hit point in direction of the light source.
Returns the zero vector, if the shader does not support reflectance.
Source
Vector4 getReflectance(Vector3 outDir, Vector3 inDir) {
return new Vector4.zero();
}