Search Unity

Question How to Sample SDF Textures

Discussion in 'Visual Effect Graph' started by yzhao105, Sep 2, 2021.

  1. yzhao105

    yzhao105

    Joined:
    Sep 15, 2017
    Posts:
    28
    I was trying to use the sdf texture generated with the new sdf bake tool that comes with vfx graph 12 in an older version of unity (2019.4). It looks like no matter how I sample it, the value is always 0.
    How do unity store the value in the baked sdf texture? And is it possible to sample it like a normal 3d texture in older version of unity?