Search Unity

Heat Distortion shader can't work in my scene how can I make it work

Discussion in 'Shaders' started by tonytage, Mar 26, 2011.

  1. tonytage

    tonytage

    Joined:
    May 26, 2010
    Posts:
    28
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    haze (heat distortion) is a render texture effect and requires Unity Pro (haze can't be done performantly without render textures as you need to sample what would be behind at very least so you can distort it)
     
  3. tonytage

    tonytage

    Joined:
    May 26, 2010
    Posts:
    28
    haze (heat distortion) is a render texture effect and requires Unity Pro
    ******************************************************************************************
    I have unity pro but this picture is from my notebook

    How can I make haze in unity pro
     
  4. 2dfxman1

    2dfxman1

    Joined:
    Oct 6, 2010
    Posts:
    1,065
    Then how is distorted glass done without render textures?
     
  5. tonytage

    tonytage

    Joined:
    May 26, 2010
    Posts:
    28
    where can I find distorted glass shader
     
  6. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Are you sure?
    Sure that it does not use GrabPass?


    Technically you could do them without rendertexture / grabpass, but pixel readback from backbuffer is extremely slow so the performance hit you take is massive (deferred is light compared to it on many gpus)
     
  7. Daniel_Brauer

    Daniel_Brauer

    Unity Technologies

    Joined:
    Aug 11, 2006
    Posts:
    3,355
    The stained glass shader uses GrabPass.