Search Unity

  1. Engage, network and learn at Unite Austin 2017, Oct 3 - 5. Get your ticket today!
    Dismiss Notice
  2. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  3. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  4. Unity 2017.1 is now released.
    Dismiss Notice
  5. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  6. Unity 2017.2 beta is now available for download.
    Dismiss Notice

render to texture on IOS

Discussion in 'iOS and tvOS' started by Gigiwoo, Apr 23, 2011.

  1. Gigiwoo

    Gigiwoo

    Joined:
    Mar 16, 2011
    Posts:
    2,922
    Heya,

    If you are trying to do effects like the full screen effects or post processing or the like, how do you do them on IOS (ipad or iphone)? The unity build process tells me that the ios cannot handle render to texture. Is there a way to get the results of a render process back and use that as input to the next step without doing a render to texture?

    I hope I am using the right terminology.

    Gigiwoo.
     
  2. Jessy

    Jessy

    Joined:
    Jun 7, 2007
    Posts:
    7,327
    Are you using pre-Unity 3 Unity iPhone? The only reason you wouldn't be able to use them with the current version of Unity is that you don't have an iOS Pro license.
     
  3. Gigiwoo

    Gigiwoo

    Joined:
    Mar 16, 2011
    Posts:
    2,922
    Heya,

    I have ios 3.3 pro + ios Pro - it was expensive, so I'm sure :). The issue was that when I started my posteffect, it was calling, 'CheckSupport(true)', which meant that the PostEffectBase.js class was checking that the ios supports DEPTH textures, which apparently it doesn't. Fortunately, I don't need a depth texture, so calling CheckSupport(false) got me much farther :).

    Gigiwoo.
     
    Last edited: Apr 23, 2011
  4. Malveka

    Malveka

    Joined:
    Nov 6, 2009
    Posts:
    146
    Gigiwoo, I'm uncertain from your post whether you're seeing issues in the editor or on the device. If it's in the editor, try changing the Edit->Graphics Emulation setting. Certain emulation settings may not support the effects you want to use. Also, have a look at this thread:

    http://forum.unity3d.com/threads/65382-iOS-Pro-and-Post-Processing-Effects

    Hope this helps.

    Mal