Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Reflection Probe not getting CommandBuffered visual

Discussion in 'General Graphics' started by LightStriker, Oct 6, 2016.

  1. LightStriker

    LightStriker

    Joined:
    Aug 3, 2013
    Posts:
    2,716
    We have tube light - which is available in the Unity CommandBuffer example package.

    Today we noticed all our stuff rendered from CommandBuffer are not visible in Reflection Probe. It's a bit of an issue because a lot of our lights and decals are custom in some way.

    Is there a way to make reflection probe catch everything?

    The issue is easy to reproduce; add a reflection probe in the CommandBuffer example supplied here; https://docs.unity3d.com/Manual/GraphicsCommandBuffers.html

    Notice how none of the light effect shows up in the reflection probe.
     
    Last edited: Oct 7, 2016
  2. LightStriker

    LightStriker

    Joined:
    Aug 3, 2013
    Posts:
    2,716
    I take nobody care? Or someone has a workaround?
     
  3. LightStriker

    LightStriker

    Joined:
    Aug 3, 2013
    Posts:
    2,716
    Bug submitted as 840608
     
  4. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    looks like the function that is rendering the reflection probe data is not recognized as a camera and so the corresponding hooks for the commandbuffer do not get called.
     
  5. LightStriker

    LightStriker

    Joined:
    Aug 3, 2013
    Posts:
    2,716
    Actually, using the "RenderCubemap()" function on the Camera class has the exact same issue. So I would assume it's the actually codepath for Reflection Probe.
     
  6. LightStriker

    LightStriker

    Joined:
    Aug 3, 2013
    Posts:
    2,716
    Cool... As long as nobody flags it "As Designed" at some point. :p
     
    fffMalzbier likes this.
  7. LightStriker

    LightStriker

    Joined:
    Aug 3, 2013
    Posts:
    2,716
  8. Zuntatos

    Zuntatos

    Joined:
    Nov 18, 2012
    Posts:
    612
    Just ran into this as well, no way to attach command buffers to reflection probes. Same as OP; troubling for custom lights / decals.