Search Unity

Camera Image Reflection help.

Discussion in 'Scripting' started by gringofxs, Mar 20, 2017.

  1. gringofxs

    gringofxs

    Joined:
    Oct 14, 2012
    Posts:
    240
    It is possible to use the camera image as a reflection Cubemap?
     
  2. chingwa

    chingwa

    Joined:
    Dec 4, 2009
    Posts:
    3,790
    No. You would need to generate a cubemap through code using a secondary (or code-generated) camera. Or you could use a reflection probe, as this is pretty much exactly what they do behind the scenes.
     
  3. gringofxs

    gringofxs

    Joined:
    Oct 14, 2012
    Posts:
    240
    is an AR project, i try reflection probe but does not work. I need to reflect the image of the camera, in to the 3d model.
     
  4. gringofxs

    gringofxs

    Joined:
    Oct 14, 2012
    Posts:
    240
    i put to the 3D object, Add component/Rendering/Reflection Probe, put Type in custom, but the same problem, it ask for a CubeMap. Should be a manner to put the camera image into the Cube Map
     

    Attached Files: