Photon

Basic

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

mib_photon_basic
    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.

Copyright (©) 1986-2008 by mental images GmbH