Search Unity

nvidia shaders

Discussion in 'Shaders' started by holmeren, Apr 4, 2008.

  1. holmeren

    holmeren

    Joined:
    Dec 12, 2006
    Posts:
    300
  2. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    Yes. HSLS is very similar to Cg; so if the shader does not do actual lighting calculations (i.e. with actual lights), then it should be really simple. If it needs to integrate with in-game lights, then you'd need to adapt whatever-integration-style those shaders are using into Unity's way of doing lighting.
     
  3. Loran

    Loran

    Joined:
    Nov 14, 2007
    Posts:
    124
    Could we have an exemple on how to translate those nvidia HLSL source into unity shader?
    I believe Unity can support most of them but as i really don't understand a thing in shader programming, i wonder if i'll ever have the possibility to use such visual power. :cry: