GithubHelp home page GithubHelp logo

keijiro / depthinverseprojection Goto Github PK

View Code? Open in Web Editor NEW
443.0 20.0 62.0 87 KB

An example showing how to inverse-project depth samples into the view/world space in Unity.

C# 26.95% ShaderLab 73.05%
unity unity3d shader graphics

depthinverseprojection's Introduction

DepthInverseProjection

screenshot

gif

This is an example that shows how to inverse-project depth samples (from the camera depth texture) into the view/world space in Unity.

System Requirements

  • Unity 2018.2 or later

License

Public domain

depthinverseprojection's People

Contributors

keijiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

depthinverseprojection's Issues

Missing namespaces

Hi,
I wanted to test your project but I cannot run it since there seem to be namespaces missing (screenshot). The readme says I only need Unity 2018.2 or higher.

Is there a component install or a library that I am missing?

Found using
Unity 2018.2.0f2 (stock install)
Buildsettings: PC, Mac & Linux Standalone

screenshot_3

Changing projection to a texture?

I know this is kind of old and maybe unsupported. I'm trying to modify this to project a texture of my choosing instead of projecting the lines by default. Any ideas?

Need help including StdLib

Hello keijiro,

I was trying to import the asset to my project but encountered this error regards a library i'm missing:

Shader error in 'Hidden/Test/InverseProjection': Couldn't open include file 'PostProcessing/Shaders/StdLib.hlsl'. at line 5

I'm currently using HDRP but don't really have much idea of how to import this StdLib library, where can i get it and how can i import it into the project so it works?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.