Skip to main content

Materials, Lights, and Shading

  • Chapter
The Essential Guide to 3D in Flash
  • 367 Accesses

Abstract

As you saw in the previous chapter, all meshes (including internally created primitives and imported models) are built from geometric elements such as triangles and line segments that have their shapes defined by vertex points. For the renderer to be able to draw these elements to the view, an appearance definition similar to the line and fill style settings used in the native drawing API in Flash is required. In 3D, this definition is frequently referred to as a material, and in Away3D, it takes the form of a class instance that can be set in the material property of an individual element or global mesh object. Materials can be used to paint solid colors or bitmap images onto the surface of 3D objects, and special types can define how an object should react to light in a scene.

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 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.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.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Rob Bateman & Richard Olsson

About this chapter

Cite this chapter

Bateman, R., Olsson, R. (2010). Materials, Lights, and Shading. In: The Essential Guide to 3D in Flash. Apress. https://doi.org/10.1007/978-1-4302-2542-3_5

Download citation

Publish with us

Policies and ethics