Search Unity

Render depth buffer and send array with udp

Discussion in 'Scripting' started by Vector-Informatik-GmbH, Sep 22, 2014.

  1. Vector-Informatik-GmbH

    Vector-Informatik-GmbH

    Joined:
    May 22, 2014
    Posts:
    2
    Hi experts,

    I want to use the values of the depth buffer outside unity.
    My idea was:
    - render to texture
    - read depth values and store as array
    - send array (udp)

    Can anyone tell me how to do this in unity? (I prefer c#.)

    I have very less scripting skills, so please keep it as simple as possible.

    Thanks for your help!
     
    Last edited: Sep 23, 2014