• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Shaders and material setup

  • Views Views: 601
  • Last updated Last updated:

Navigation

      Modeling guidelines
         Architecture
         Unity - Modelsetup (MAYA)
         Unity - Setup of a gun in Maya
         Advanced foliage shader
         Emissive shader
         Fabric shader
         Main shader
         ReliefTerrain shaders
         Sail shader
         SSS shader
         Suimono 2.0 water shader
         VolumeGlass
         WindowGlass
      Texturing Guidelines
            (3a) CryEngine - CGF setup Maya
            (3b) CryEngine - CGA setup Maya
         CryEngine - Console commands
         CryEngine - Important keys
      Bahamas
      Greater Antilles
         Cuba
         Hispaniola
         Jamaica
         Puerto Rico
         St Domingo
      Lesser Antilles
         Anegada
         Anguilla
         Antigua
         Barbados
         Barbuda
         Dominica
         Granada
         Grenadines
         Guadeloupe
            La Désirade
            Marie-Galante
         Martinique
         Montserrat
         Nevis
         Saba
         Sint Eustatius
         St Barts
         St Croix
         St Johns
         St Kitts
         St Lucia
         St Martins
         St Thomas
         St Vincent
         Tortola
         Virgin Gorda
      Southern Caribbean
   03. Credits
  • Shaders and material setup
    Under review for transition to PBR!

    Hearts of Oak is being made in Unity 5 and taking advantage of the new Physically-Based Rendering systems. Please use Unity 5 default shaders to familiarize with PBR workflow. Modelers are also encouraged to download free Viking Village scene from asset store, to try materials in advanced lighting situations.

    Installing shaders:
    Put .shader files in C:/Users/UserName/My Documents/UnityProjectName/Assets/Shaders.

    Creating materials:

    In Unity editor, open project browser in Window > Project. Materials should be saved alongside models they are assigned to. Rclick, Create > Material in chosen folder.
    To apply material, select mesh in scene viewport and under Mesh renderer > Materials > Element 0, browse and select desired material.


    Setting Material Properties:

    At first, select which Shader you want any particular material to use. Simply expand the Shader drop-down in the Inspector, and choose desired shader. Ashinokami's shaders are found under Shader Forge list item.
    The shader you choose will dictate the available properties to change. The properties can be checkboxes, numbers, sliders, colors, textures or vectors. If you have applied the Material to an active object in the Scene, you will see your property changes applied to the object in real-time.

    Support:
    PM Ashinokami with title "ShaderName - problem report" for any quirks or deviations from supposed functioning,
    and use title "ShaderName - feature request" asking for additional functionality or change in present one. PMs will not be answered unless necessary.

    "How do I..?" questions are handled in Hearts of Oak: 3D Modeling PM conversation.

    Q: Why so many different shaders, why not 1 do-it-all?
    A:
    It is performance optimization: Unity shader compiler, on loading a game scene, compiles ubershader into multiple variations, each for unique combination of features, used in that scene (that artists select in material inspector). Each new feature multiplies variations generated, that might bloat shader cache to hundreds of MBs, and significantly slow performance both drawcall and Vram wise. Thus with more and specialized "editor" shaders, we might limit the different ways materials are setup.
Back
Top