No announcement yet.

Scenecapture 2D scenedepth not working.

  • Filter
  • Time
  • Show
Clear All
new posts

    Scenecapture 2D scenedepth not working.

    Why is scenedepth capture not working on my scenecapture2D?
    Click image for larger version  Name:	20180916-18_39_05.png Views:	1 Size:	13.9 KB ID:	1528409
    It just outputs blank white in the red channel regardless of the scenecapture position.

    Do you use 16float render target format?

    my portfolio
    my youtube

    Procedurally Instanced Meshes
    Simple Portals
    Water Flow For UDK
    Setup Swarm


      I have tried all the formats. I have seen it working in the past, so it must just be a bug with my UE4 version (4.19.2)


        Output is not normalized, so values can be veeery high, then it look like clear white texture. For debug you can try to use that texture in material, connect it to divide by 100 and then Frac node. Or just straight into something like divide by 10000.

        I tested it now and have not any problem.

        1. Created new scene capture 2d actor
        2. Created new render target in content browser
        3. Set render target in scene capture 2d
        4. Created material..
        nothing else

        Click image for larger version  Name:	depth.PNG Views:	1 Size:	250.2 KB ID:	1529317
        Last edited by Skylonxe; 09-18-2018, 09:11 AM.