Lighting, Transparency, and Shading
|Create or move light object in camera coordinates|
|Create or position light object in spherical coordinates|
|Specify lighting algorithm|
|Set color shading properties|
|Calculate diffuse reflectance|
|Control reflectance properties of surfaces and patches|
|Calculate specular reflectance|
You can position light sources and adjust the characteristics of the objects that are reflecting the lights.
You can specify the reflectance characteristics of patch and surface objects and thereby affect the way they look when lights are applied to the scene.
The transparency of a graphics object determines the degree to which you can see through it. Add transparency to graphics objects to customize the look of your charts or reveal details about an object that are otherwise hidden.
This example shows how to modify transparency of images, patches and surfaces.
Every figure has an associated alphamap, which is a vector of values ranging from 0 to 1. You can view or modify the alphamap.