{"author_link":"\/users\/gabriele","author_name":"Gabriele","author_uid":"gabriele","comments":[],"epoch":1570348283,"event":"LD45","format":"md","ldjam_node_id":170586,"likes":3,"metadata":{"p_key":"135072","p_author":"Gabriele","p_authorkey":"1169434","p_urlkey":"351318","p_title":"Making a 3D depth shader","p_cat":"LDJam ","p_event":"LD45","p_time":"1570348283","p_likes":"3","p_comments":"0","p_status":"WAYBACK","us_key":"1169434","us_name":"Gabriele","us_username":"gabriele","event_start":"1570147200","event_key":"78","event_name":"Ludum Dare 45"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD45","removed_author":false},"_superparent":159347,"_trust":1,"author":169434,"body":"I will leave this here as I struggled a bit to achieve this and there doesn't seem to be an awful lot of documentation online for it.\n\nI'm making a game about learning to drive an ancient underwater vessel to escape a dangerous cave, and I want the player to be able to see using only a set of cameras that can provide a depth view of the environment around them.\n\nI finally got it, this is the shader graph configuration and a picture of the cave system with it!![Depth.png](\/\/\/raw\/ad5\/92\/z\/25cd6.png)\n","comments":0,"created":"2019-10-06T07:44:06Z","files":[],"files-timestamp":0,"id":170586,"love":3,"love-timestamp":"2019-10-06T07:59:03Z","meta":[],"modified":"2019-10-06T07:59:03Z","name":"Making a 3D depth shader","node-timestamp":"2019-10-06T07:51:23Z","parent":169435,"parents":[1,5,9,159347,169435],"path":"\/events\/ludum-dare\/45\/vessel\/making-a-3d-depth-shader","published":"2019-10-06T07:51:23Z","scope":"public","slug":"making-a-3d-depth-shader","subsubtype":"","subtype":"","type":"post","version":497980},"node_metadata":{"n_key":"170586","n_urlkey":"351318","n_parent":"169435","n_path":"\/events\/ludum-dare\/45\/vessel\/making-a-3d-depth-shader","n_slug":"making-a-3d-depth-shader","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"169434","n_created":"1570347846","n_modified":"1570348743","n_version":"497980","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/45\/vessel\/making-a-3d-depth-shader","text":"I will leave this here as I struggled a bit to achieve this and there doesn't seem to be an awful lot of documentation online for it.\n\nI'm making a game about learning to drive an ancient underwater vessel to escape a dangerous cave, and I want the player to be able to see using only a set of cameras that can provide a depth view of the environment around them.\n\nI finally got it, this is the shader graph configuration and a picture of the cave system with it!![Depth.png](\/\/\/raw\/ad5\/92\/z\/25cd6.png)\n","title":"Making a 3D depth shader","wayback_source":[]}