Search Unity

Question Is it possible to compile Compute shaders at runtime?

Discussion in 'Shaders' started by MechaWolf99, May 24, 2020.

  1. MechaWolf99

    MechaWolf99

    Joined:
    Aug 22, 2017
    Posts:
    294
    I was wondering if it is possible to create, compile, and run compute shaders at runtime?

    There are very few results on google for this, and the ones I did find are quite old.
    Also, sorry if this is the wrong section to ask this question in.
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,028
    Nope, it's not possible.
     
  3. MechaWolf99

    MechaWolf99

    Joined:
    Aug 22, 2017
    Posts:
    294
    Well dang, alright. Thanks.