Search Unity

How to make build with you own modified "AutoLight.cginc" in Unity3d 5 ?

Discussion in 'Shaders' started by Alex-Tsurcan, Aug 31, 2015.

  1. Alex-Tsurcan

    Alex-Tsurcan

    Joined:
    Mar 15, 2015
    Posts:
    2
    When I worked on Unity3d 4, I easily customize the CGINCLUDE files as "AutoLight.cginc", "UnityCG.cginc" etc... just put them in project, and Unity automatically rebuild all shaders. But with Unity3d 5 seems its doesn't work, Unity still use the files from the original library.

    So, if somebody know or have experience how can I implement my own *.cginc files from original unity3d library a big thanks and respect ! :)

    Btw just replacing in (C:\Program Files\Unity\Editor\Data\CGIncludes) it is not solution, because I need to work on client PC and to build Unity3d on my own server. So I need solution for local PC, directly in project, like was in unity3d 4. Any suggestion guys ? :)