Search Unity

Turn off Binary Shaders or Precompiled Shaders

Discussion in 'Shaders' started by Exalia, Nov 14, 2013.

  1. Exalia

    Exalia

    Joined:
    Aug 14, 2013
    Posts:
    22
    Hi i'm trying to debug and optimise my game by tracing the GL commands however I can't access the information from the shaders because Unity seems to precompile them and access them via glProgramBinary(); instead of compiling them at runtime via glCreateProgram(). Is there a way to turn this off because it really sucks :\

    (There are some that aren't precompiled but I would like all of them to be)