17.08.2015 Views

Fast mobile shaders or rather Mobile! Fast!

Fast mobile shaders - Unity Technologies Blog

Fast mobile shaders - Unity Technologies Blog

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Fail #2•At end of translated shader, lookedlike a complex dynamic branch• Try to make it generate simpler code!•Slightly slower :(• No idea again!The end of the shader looked like a complex branch in GLSL that the driver may <strong>or</strong> might notbe able to optimize. Tried replacing it with simpler code - result slower. Why - no idea again(PVRUniSCo was crashing at that point, couldn’t see shader cycles).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!