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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

GPU/Shaders guide?

Discussion in 'PSM' started by kjuanlu, Apr 16, 2014.

  1. kjuanlu

    kjuanlu

    Joined:
    Dec 4, 2011
    Posts:
    100
    Hello all.

    I just tryed some of our games on psVITA. We had to change vertex Lit Rendering Path to Forward in order to work, and some transparent shaders doesn't appear (and make the game bellow 1 FPS). Without this shaders, the perfomance in our game is great, but I would like to know more about the hardware:

    Graphic API used? is OpenGLES based? is OpenGLES? how can I have to make the shaders? CG? GLSL? What about alpha blending, alpha test? camera image effects?

    Where can I found some of this information?

    Basically, I would like to know what kind of things doesn't like this hardware, and what kind of things is great for this hardware

    Regards
     
  2. kjuanlu

    kjuanlu

    Joined:
    Dec 4, 2011
    Posts:
    100
    I have a shader with two subshaders, one with #pragma only_renderers d3d9 d3d11 (CG) and another one with #pragma only_renderers opengl gles (GLSL), in order to work both directX (windows editor) and iOS/Android GLES. What kind of macro do I need to target the psvita hardware?

    regards