Fix #33334: missing glossy label for OSL phong ramp caused assert.
This commit is contained in:
parent
33f451838a
commit
4c13633582
@ -131,7 +131,7 @@ __device int bsdf_phong_ramp_sample(const ShaderClosure *sc, const float3 colors
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return LABEL_REFLECT;
|
return LABEL_REFLECT|LABEL_GLOSSY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user