fix shadows on primitives

This commit is contained in:
SamGondelman 2018-03-30 09:48:04 -07:00
parent d59a721f16
commit 5a7e9d8e3e

View file

@ -131,6 +131,8 @@ ItemKey ShapeEntityRenderer::getKey() {
withReadLock([&] {
if (isTransparent()) {
builder.withTransparent();
} else if (_canCastShadow) {
builder.withShadowCaster();
}
});