Search Unity

how to protect shader source code

Discussion in 'Editor & General Support' started by leonzhx, Feb 24, 2017.

  1. leonzhx

    leonzhx

    Joined:
    Dec 6, 2016
    Posts:
    29
    I have some very ass kicking shader, how I can distribute them as a unitypackage but prevent the source code
    been read?


    Thanks,
     
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,334
    You can't.
     
  3. leonzhx

    leonzhx

    Joined:
    Dec 6, 2016
    Posts:
    29
    Unity doesnt support compiled shader anymore? Only provide compiled shader source(ASM form) code is also ok.