text: [{"Owner":"jhadenfeldt","Date":"2018-10-31T16:52:19Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tI am having a hard time getting a depth map to work within my project. I understand that the depth map should be a grey scale image with the elements closer to the camera being colored darker.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tIn my project though_co_ I only get a 1 bit image (the plane on the left has the depthMap as a diffuseTexture). I tried my depth map code on the playground and I get the desired outcome_co_ but I can_t_t port my whole project to the playground. \n_lt_/p_gt_\n\n_lt_p_gt_\n\tDoes anyone know what could cause this issue?\n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n_lt_p_gt_\n\t_lt_a class_eq__qt_ipsAttachLink ipsAttachLink_image_qt_ href_eq__qt_http_dd_//www.html5gamedevs.com/uploads/monthly_2018_10/depthMap.PNG.d854d7185fdbf7fb0ac6f863991c993f.PNG_qt_ data-fileid_eq__qt_20742_qt_ rel_eq__qt__qt__gt__lt_img alt_eq__qt_depthMap.PNG_qt_ class_eq__qt_ipsImage ipsImage_thumbnailed_qt_ data-fileid_eq__qt_20742_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/monthly_2018_10/depthMap.thumb.PNG.323f3e58d3525f17099e75f0b37eccbe.PNG_qt_ /_gt__lt_/a_gt_\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":"JohnK","Date":"2018-10-31T18:45:57Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHi _lt_a contenteditable_eq__qt_false_qt_ data-ipshover_eq__qt__qt_ data-ipshover-target_eq__qt_http_dd_//www.html5gamedevs.com/profile/33177-jhadenfeldt/?do_eq_hovercard_qt_ data-mentionid_eq__qt_33177_qt_ href_eq__qt_http_dd_//www.html5gamedevs.com/profile/33177-jhadenfeldt/_qt_ rel_eq__qt__qt__gt_@jhadenfeldt_lt_/a_gt_ and welcome to the forum. Publishing the PG that you have that works with a description of how its use differs in your project would be helpful.\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":"jhadenfeldt","Date":"2018-11-01T17:26:05Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tSo I was able to reproduce the case in the playground_dd_ _lt_a href_eq__qt_https_dd_//playground.babylonjs.com/#NH8QH5_qt_ rel_eq__qt_external nofollow_qt__gt_https_dd_//playground.babylonjs.com/#NH8QH5_lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tWhy does the depth map not look like in this example? _lt_a href_eq__qt_https_dd_//www.babylonjs-playground.com/#T5YWJQ%234_qt_ rel_eq__qt_external nofollow_qt__gt_https_dd_//www.babylonjs-playground.com/#T5YWJQ#4_lt_/a_gt_\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t\t\t\n\n_lt_span class_eq__t_ipsType_reset ipsType_medium ipsType_light_t_ data-excludequote_gt_\n\t_lt_strong_gt_Edited _lt_time datetime_eq__t_2018-11-01T17_dd_33_dd_53Z_t_ title_eq__t_11/01/2018 05_dd_33  PM_t_ data-short_eq__t_Nov 1_t__gt_November 1_lt_/time_gt_ by jhadenfeldt_lt_/strong_gt_\n\t\n\t\t_lt_br_gt_added missing link\n\t\n\t\n_lt_/span_gt_\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":"2018-11-02T15:00:41Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tThis is because of the scale of your depth_dd_\n_lt_/p_gt_\n\n_lt_p_gt_\n\t_lt_a href_eq__qt_https_dd_//playground.babylonjs.com/#NH8QH5#1_qt_ ipsnoembed_eq__qt_true_qt_ rel_eq__qt_external nofollow_qt__gt_https_dd_//playground.babylonjs.com/#NH8QH5#1_lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\t(check line 8 and 9)\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":"jhadenfeldt","Date":"2018-11-02T17:36:58Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tOoh_co_ that makes sense! Thank you!\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI feel like that could be added to the documentation here_dd_ _lt_a href_eq__qt_https_dd_//doc.babylonjs.com/how_to/how_to_use_depthrenderer_to_get_depth_values_qt_ rel_eq__qt_external nofollow_qt__gt_https_dd_//doc.babylonjs.com/how_to/how_to_use_depthrenderer_to_get_depth_values_lt_/a_gt_ Would you accept a PR if I extend the documentation?\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":"JohnK","Date":"2018-11-02T17:52:48Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tWe always welcome added explanations to the documentation including any example playgrounds that help clarify the issue. All documentation PRs are reviewed and help and advice given_co_ if needed_co_ to produce a successful submission. If you have not done so have a read through this post \n_lt_/p_gt_\n_lt_iframe allowfullscreen_eq__qt__qt_ data-controller_eq__qt_core.front.core.autosizeiframe_qt_ data-embedcontent_eq__qt__qt_ data-embedid_eq__qt_embed7085901125_qt_ scrolling_eq__qt_no_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/topic/16365-contributing-to-documentation-101/?do_eq_embed&amp_sm_comment_eq_92445&amp_sm_embedComment_eq_92445&amp_sm_embedDo_eq_findComment_qt_ style_eq__qt_height_dd_296px_sm_max-width_dd_502px_sm__qt__gt__lt_/iframe_gt_\n\n_lt_p_gt_\n\tOne missing point - after\n_lt_/p_gt_\n\n_lt_blockquote class_eq__qt_ipsQuote_qt_ data-ipsquote_eq__qt__qt__gt_\n\t_lt_div class_eq__qt_ipsQuote_citation_qt__gt_\n\t\tQuote\n\t_lt_/div_gt_\n\n\t_lt_div class_eq__qt_ipsQuote_contents_qt__gt_\n\t\t_lt_p_gt_\n\t\t\tTo get all the tools used by the site_co_ just execute the following command line_dd_ _qt__lt_span style_eq__qt_font-family_dd__t_courier new_t__co_ courier_co_ monospace_sm__qt__gt__lt_em_gt_npm install_lt_/em_gt__lt_/span_gt__qt_ (just do it once)\n\t\t_lt_/p_gt_\n\t_lt_/div_gt_\n_lt_/blockquote_gt_\n\n_lt_p_gt_\n\tYou need to do\n_lt_/p_gt_\n\n_lt_pre class_eq__qt_ipsCode prettyprint prettyprinted_qt__gt_\n_lt_span class_eq__qt_pln_qt__gt_npm install _lt_/span_gt__lt_span class_eq__qt_pun_qt__gt_-_lt_/span_gt__lt_span class_eq__qt_pln_qt__gt_g grunt_lt_/span_gt__lt_span class_eq__qt_pun_qt__gt_-_lt_/span_gt__lt_span class_eq__qt_pln_qt__gt_cli_lt_/span_gt__lt_/pre_gt_\n\n_lt_p_gt_\n\tAny problems let us know.\n_lt_/p_gt_\n\n_lt_p_gt_\n\t \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_"}]