protected static bool ParseReceiveShadows( string parameters, MaterialScriptContext context )
{
if ( parameters != "on" && parameters != "off" )
{
LogParseError( context, "Bad receive_shadows attribute, valid parameters are 'on' or 'off'." );
}
context.material.ReceiveShadows = StringConverter.ParseBool( parameters );
return false;
}