diff --git a/src/editor/components/components/AddLayerPanel/createLayerFunctions.js b/src/editor/components/components/AddLayerPanel/createLayerFunctions.js index f9d58b0a..8f0653ee 100644 --- a/src/editor/components/components/AddLayerPanel/createLayerFunctions.js +++ b/src/editor/components/components/AddLayerPanel/createLayerFunctions.js @@ -168,7 +168,8 @@ export function createCustomModel(position) { components: { position: position ?? '0 0 0', 'gltf-model': `url(${modelUrl})`, - 'data-layer-name': 'glTF Model • My Custom Object' + 'data-layer-name': 'glTF Model • My Custom Object', + shadow: 'receive: true; cast: true;' } }; AFRAME.INSPECTOR.execute('entitycreate', definition);