Search Unity

How to get compiled shader?

Discussion in 'Shaders' started by ammars26, Mar 25, 2021.

  1. ammars26

    ammars26

    Joined:
    Nov 7, 2016
    Posts:
    13
    Hi
    Is there is a way I can get my external compiled shader at runtime or possibly through Unity Editor API? I'm working on a plugin for which I require Unity compiled shader version for my external shader.

    I can see the compiled shader when hit "Compile and Show Code" in inspector for an external shader but is there is any way I can get the compiled shader at runtime or through Unity Editor API for plugin?
     
  2. StaggartCreations

    StaggartCreations

    Joined:
    Feb 18, 2015
    Posts:
    2,266
    mitaywalle likes this.