yaoyansi/maya2renderer — Issue #12: RSL blinn shader can't be compiled
Author: yaoyansi
Created: 2012-02-19 17:12:15+00:00
State: open

liquidWriteRSL_materials.mel:
line67: addToRSL "Cspecular *= mix( 1, specRollOff, );";
mix has three parameters, but only given 2 parameters here.

shaderOutputRSL_materials.cpp should also be modified either.
void Visitor::visitBlinn(const char* node)
{
...
o.addToRSL( "Cspecular *= mix( 1, specRollOff, );");
...
}