Because the altered data offset wasn't transferred from the instance overrides to the instance's full symbol table, it was comparing the default values rather than the actual values, so two instances that should not have been merged, were merged. Also fixed a (harmless) bug in ShadingSystemImpl::ShaderGroupBegin, where the serialized group is parsed, where it was double-calling Parameter() to add the parameters. Fixes #655
8 lines
115 B
Plaintext
8 lines
115 B
Plaintext
surface simple(
|
|
color a = color(0),
|
|
color b = color(0) )
|
|
{
|
|
printf("%f\n", a + b);
|
|
Ci = emission() * (a + b);
|
|
}
|