Search Unity

(Bug 865455) CommandBuffer fails to blit Point lights' shadowCubemap

Discussion in 'General Graphics' started by raphael-ernaelsten-heaj, Jan 11, 2017.

  1. raphael-ernaelsten-heaj

    raphael-ernaelsten-heaj

    Joined:
    Mar 9, 2016
    Posts:
    78
    Hi everybody!

    I try to copy the point lights' shadow(cube)maps into a renderTexture using commandBuffers and LightEvent.AfterShadowMap stage.
    It works for directionals and spots but fails with point lights

    I understand that the problems must occur because of dimensions but there is no workaround for this.

    Has anyone ever managed to get a copy of an omni/point light shadowmap otherwise?

    I come at the end of all the ideas i had and still no luck...

    I've submit a bug with a reproducible project but no answer so far.
     
    Avol likes this.