Shader getShader(Intersection intersect)

Returns the shader for a given intersection point.

Source

Shader getShader(Intersection intersect) => intersect.prim.getShader(intersect);