RayTracer::Material
Inherits RayTracer::Tuple < RayTracer::Color < Reference < Object
Constructors
Instance methods
ambient
Sourcediffuse
Sourcedup(deep = false)
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self into it.
lighting(object, light, point, eyev, normalv, in_shadow = false)
Sourcepattern
Sourcepattern=(pattern : Pattern)
Sourceshininess
Sourcespecular
Source