<< >> Up Title 

Phong material

 
 
Ks Specular-reflection coefficient
 

name_material
 
 

 

defmat_phong

 definition of material of type phong. See [1].

 

def_

 .

 

def_Kt

 Refraction coefficient.

 

def_ni

 index of refraction.

 

def_Ka

 Ambient-reflection coefficient.

 

def_Kd

 Diffuse-reflection coefficient.

 

def_n

 Specular-reflection exponent.

 

def_Od

 Diffuse color.

 

def_Os

 Specular color.

 

Extended phong material

New material characteristics:

shadows draw shadows if on.
Kh highlight coefficient. ( Early it was included in the Ks parameter)
angles angular spread of reflected ray.
anglet angular spread of refraction ray.

To use angles and anglet, UseDistribuiteTS must be on. With AngleFreq you can choose the quantity of rays fired for each point in the worst case.


<< >> Up Title