Skip to main content

The transparency of a surface

  • Chapter
Writing mental ray® Shaders

Part of the book series: mental ray® Handbooks ((MENTALRAY,volume 3))

  • 408 Accesses

Abstract

In previous chapters, we have used variables in the state struct to calculate the color of the surface. We’ve also used a few of the mental ray library functions, like the mi-eval functions for parameters, and some utility functions, like mi_vector_dot. In this chapter, we use a function that examines the rendering environment through ray tracing.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 mental images GmbH, Berlin

About this chapter

Cite this chapter

(2008). The transparency of a surface. In: Writing mental ray® Shaders. mental ray® Handbooks, vol 3. Springer, Vienna. https://doi.org/10.1007/978-3-211-48965-9_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-211-48965-9_8

  • Publisher Name: Springer, Vienna

  • Print ISBN: 978-3-211-48964-2

  • Online ISBN: 978-3-211-48965-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics