Abstract
In the previous chapters, we specified the color of an instance with a shader in the instance’s material. We can think of a shader as having a contract, the requirements for the shader given its use in the scene file. We define shaders for our simulation of lights, too, and the contract for the light shader is to define the color that is produced by the light.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2008 mental images GmbH, Berlin
About this chapter
Cite this chapter
(2008). Lights. In: Writing mental ray® Shaders. mental ray® Handbooks, vol 3. Springer, Vienna. https://doi.org/10.1007/978-3-211-48965-9_11
Download citation
DOI: https://doi.org/10.1007/978-3-211-48965-9_11
Publisher Name: Springer, Vienna
Print ISBN: 978-3-211-48964-2
Online ISBN: 978-3-211-48965-9
eBook Packages: Computer ScienceComputer Science (R0)