Base class for materials defining shading and rendering behavior.
Defines a 2D vector and various related operations.
Abstract base class for rendering materials.
Represents an RGB color and provides methods for manipulation.
RGBColor baseRGB
The base RGB color used for reference during hue shifts.
void SetRGB(RGBColor rgb)
Sets a new RGB color for the material.
void HueShift(float hueDeg)
Adjusts the hue of the material's color.
RGBColor rgb
The active RGB color applied to the surface.
SimpleMaterial(RGBColor rgb)
Constructs a SimpleMaterial with a specified RGB color.
RGBColor GetRGB(const Vector3D &position, const Vector3D &normal, const Vector3D &uvw) override
Retrieves the RGB color for a surface.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.