Patent ID: 8773433

Claim:
A non-transitory computer-readable medium containing a program configured to provide component-based lighting when executed, the program comprising: a material component adapted to output a material attribute of scene geometry; and an illumination component coupled with the material component and adapted to output a modified material attribute based on at least one illumination attribute, wherein the illumination component is further coupled with a plurality of subcomponents comprising: (i) a first illumination subcomponent providing a first subset of illumination input attributes; and (ii) a second illumination subcomponent providing a second subset of illumination input attributes; of which each illumination subcomponent requires only one or more respective parameters specific to the respective illumination subcomponent, to the exclusion of at least one respective parameter not specific to the respective illumination subcomponent, thereby reducing a count of parameters with which each illumination subcomponent is required to be configured, thereby reducing an amount of parameter checking performed for each illumination subcomponent, thereby reducing processing incurred from one or more special case handling routines for parameter parsing for each illumination subcomponent, wherein the illumination component is adapted to determine the illumination attribute based on at least the first and second subsets of illumination input attributes.