Returns the shader for a given intersection point.
Source
Shader getShader(Intersection intersect) {
PluggableShader ret = this._shader.clone();
ret.position = intersect.hitPoint;
return ret;
}
Returns the shader for a given intersection point.
Shader getShader(Intersection intersect) {
PluggableShader ret = this._shader.clone();
ret.position = intersect.hitPoint;
return ret;
}