Hi,
Does any one know any good resource for this?
The xml below is from a collada file, I am searching for information on how exactly use it in OpenGL.
<phong>
<emission>
<color>1.0 0.0 0.0 1.0</color>
</emission>
<ambient>
<color>1.0 0.0 0.0 1.0</color>
</ambient>
<diffuse>
<color>1.0 0.0 0.0 1.0</color>
</diffuse>
<specular>
<color>1.0 0.0 0.0 1.0</color>
</specular>
<shininess>
<float>20.0</float>
</shininess>
<reflective>
<color>1.0 0.0 0.0 1.0</color>
</reflective>
<reflectivity>
<float>0.5</float>
</reflectivity>
<transparent>
<color>1.0 0.0 0.0 1.0</color>
</transparent>
<transparency>
<float>1.0</float>
</transparency>
</phong>