Search Unity

Relief maps with self-shadowing

Discussion in 'Made With Unity' started by cblarsen, May 21, 2008.

  1. cblarsen

    cblarsen

    Joined:
    Mar 10, 2007
    Posts:
    266
    I am pretty sure that the problem is that I am reusing the same rendertexture for reading and writing. The right way to do it would be to use two and swap between them.
     
  2. tgraupmann

    tgraupmann

    Joined:
    Sep 14, 2007
    Posts:
    828
  3. tgraupmann

    tgraupmann

    Joined:
    Sep 14, 2007
    Posts:
    828
    This might be a noob question, but why do you need a render texture? Can one pass feed into another?