home << prev next >> contents  

Photon

Basic

The basic photon shader supports diffuse reflection and specular reflection and transmission/refraction.

    color "mib_photon_basic" (
        color           "diffuse",
        color           "specular",
        color           "transp",
        scalar          "ior_frac")
diffuse
is the diffuse color.
specular
is the specular color, which controls reflectivity.
transp
is the fraction of light transmitted.
ior_frac
is the refraction index ratio. It is used if the photon material is transparent.
home << prev next >> contents  


Copyright (©) 1986-2007 by mental images GmbH