diff --git a/RayTracer/shape/Light.h b/RayTracer/shape/Light.h index 8c448970b13e21535537377340be262c58446308..63af141715973d7983f25827314c338b9f8550b3 100644 --- a/RayTracer/shape/Light.h +++ b/RayTracer/shape/Light.h @@ -5,5 +5,7 @@ namespace shapes { class Light { public: virtual util::SurfacePoint sampleLight() const = 0; + virtual util::Vec3 calculateLightEmission(const util::SurfacePoint& p, + const util::Vec3& d) const = 0; }; } // namespace shapes \ No newline at end of file