text: [{"Owner":"KevinBLT","Date":"2016-09-12T09:00:22Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHello_co_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tis it the correct behaviour that instances that are being disposed doesn_t_t get removed from ShadowGenerator.getShadowMap().renderList ?\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI have the refreshrate set to 0 and only render with shadow on demand.\n_lt_/p_gt_\n\n_lt_pre_gt_\n_lt_code_gt_  if (_renderShadow &amp_sm_&amp_sm_ this._manuallyShadowRender) {\n    this._shadowGenerator.getShadowMap().refreshRate _eq_ 1_sm_\n    this._scene.render()_sm_\n    this._shadowGenerator.getShadowMap().refreshRate _eq_ 0_sm_\n  } else {\n    this._scene.render()_sm_\n  }_lt_/code_gt__lt_/pre_gt_\n\n_lt_p_gt_\n\tIs this a problem i this case?\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI just want to know (maybe it_t_s a bug). Shouldn_t_t ShadowGenerator check the Mesh.isDisposed attribute?\n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n_lt_p_gt_\n\tHave a nice day\n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n_lt_p_gt_\n\tKevin\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Wingnut","Date":"2016-09-13T02:29:59Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHi again Kevin_co_ good to see you.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI built a little test playground.  _lt_a href_eq__qt_http_dd_//playground.babylonjs.com/#IYJFJ%231_qt_ rel_eq__qt_external nofollow_qt__gt_http_dd_//playground.babylonjs.com/#IYJFJ#1_lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tAt 4 seconds_co_ I dispose the torus (full mesh_co_ not instance or clone).\n_lt_/p_gt_\n\n_lt_p_gt_\n\tAt 8 secs_co_ I report the renderLists from the 2 shadowGens... to console.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tYep_co_ there they are... ghost mesh... hiding the shadows.  I poked them with a stick to see if they were real... but I couldn_t_t tell for sure.  _lt_img alt_eq__qt__dd_)_qt_ data-emoticon_eq__qt__qt_ height_eq__qt_20_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ title_eq__qt__dd_)_qt_ width_eq__qt_20_qt_ /_gt__lt_/p_gt_\n\n_lt_p_gt_\n\tHave you done a thorough forum search on this topic?  Just curious because... it seems I _lt_em_gt_barely_lt_/em_gt_ remember another thread about this.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tBut perhaps the zombie mesh are fogging my brain.  _lt_img alt_eq__qt__dd_)_qt_ data-emoticon_eq__qt__qt_ height_eq__qt_20_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ title_eq__qt__dd_)_qt_ width_eq__qt_20_qt_ /_gt_  The shadows DO disappear at the 4-second dispose moment_co_ but... ghosts don_t_t cast shadows. _lt_img alt_eq__qt__dd_o_qt_ data-emoticon_eq__qt__qt_ height_eq__qt_20_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_ohmy.png_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/ohmy@2x.png 2x_qt_ title_eq__qt__dd_o_qt_ width_eq__qt_20_qt_ /_gt__lt_/p_gt_\n\n_lt_p_gt_\n\thmm.  Thx for the report.  I will do some forum searches myself... but_co_ I agree.  Scene sg_t_s should have their renderLists periodically checked for zombies and other un-dead.  hmm.\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"KevinBLT","Date":"2016-09-13T08:24:27Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tAh that_t_s why the ghost shadows will stay in my case. Becaue the shadow map doesn_t_t get updated very often.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tSo_co_ good to know. For now I will have to remove them manually. \n_lt_/p_gt_\n\n_lt_p_gt_\n\tThanks and keep us on track. _lt_img alt_eq__qt__dd_)_qt_ data-emoticon_eq__qt__qt_ height_eq__qt_20_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ title_eq__qt__dd_)_qt_ width_eq__qt_20_qt_ /_gt__lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Deltakosh","Date":"2016-09-13T16:19:53Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t_lt_p_gt_\n\tThis is definitely a bug..I_t_ll fix it for next commit\n_lt_/p_gt_\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"KevinBLT","Date":"2016-11-04T12:38:42Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHas this been fixed? _dd_-)\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI didn_t_t find it in the change log.\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Deltakosh","Date":"2016-11-04T15:38:57Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t_lt_p_gt_\n\tYep it was\n_lt_/p_gt_\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"}]