[#26476] <specular> and <shininess> missing from Colada
authorNathan Letwory <nathan@letworyinteractive.com>
Tue, 22 Mar 2011 15:28:56 +0000 (15:28 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Tue, 22 Mar 2011 15:28:56 +0000 (15:28 +0000)
commitf78e11dc3888f6d0e3c4b3ea86ca29c9f142e3bf
treea438a2ecec9012bc8584afcb43fac9336bf4b2a9
parente5eed21a6bf9d8ab36f72d51c3d9f6fad02e795e
[#26476] <specular> and <shininess> missing from Colada
reported by Juan Linietsky

Export <specular> for <phong> and <blinn> shaders, <shininess> was already being written for these.
<lambert> shader doesn't have <shininess>.

Right now we write <phong> when blender spec is phong, <blinn> when blender spec is blinn. When spec is
any other shader, and diffuse shader set to lambert, we export as <lambert>. Any other combination defaults
right now to <phong>. This will change when Blender specific profiles have been created for the shader
combinations in Blender.
source/blender/collada/EffectExporter.cpp
source/blender/collada/EffectExporter.h