1. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  2. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  3. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  4. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Unity - WindowGlass shader [DEPRECATED]

Nov 10, 2014
Unity - WindowGlass shader [DEPRECATED]
  • WindowGlass shader last updated 2014-11-10

    WindowGlass
    is double-sided, forward pass shader, for emulating mostly flat translucent surfaces (as opposed to volumetric glass, for ex. bottles). It can handle compound surfaces, both glass and frame.

    current version is WindowGlass v0.1 [download]

    ----------------------------------------------------------------------------------------------------------------------------------------------

    Diffuse color
    - Use dark values;

    Use diffuse map - overrides diffuse color;

    Diffuse map - contains transparency mask in Alpha channel, which enables glass material to be used for compound surfaces, like windows with frames - black areas in alpha channel makes surface similar to that of IllumClone;

    Transparency - values 0-1;

    Use dirt map - enables Dirt layer, just like in IllumClone;

    Dirt map - contains dirt layer mask in Alpha channel;

    Specularity - values 0-1; use high value for glass;

    Use specular map - overrides specularity value;

    Specular map - useful for compound surfaces;

    Glossiness - values 0-1;

    Gloss map (in specular alpha) - useful for compound surfaces. For glass-only, high number value is sufficient;

    Use normal mapping - without normal map, refraction doesn't work;

    Normal map - self explanatory;

    Refraction intensity - values 0-5. Simulates glass thickness, works together with normal map.

    IBL settings - same as IllumClone.
  • Loading...