summaryrefslogtreecommitdiff
path: root/VRCSDK3AvatarsLegacy/Assets/_PoiyomiShaders/Shaders/Includes/CGI_PoiDefines.cginc
blob: 44465e2ca0f6f50b70382bc98e8816bde5feda31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef POI_DEFINES
    #define POI_DEFINES
    
    #define DielectricSpec float4(0.04, 0.04, 0.04, 1.0 - 0.04)
    
    #ifdef _SPECGLOSSMAP // Specular
        #ifndef POI_VAR_DOTNH
            #define POI_VAR_DOTNH
        #endif
        #ifndef POI_VAR_DOTLH
            #define POI_VAR_DOTLH
        #endif
    #endif
    
    #ifdef LOD_FADE_CROSSFADE // Lighting
        #ifndef POI_VAR_DOTNL
            #define POI_VAR_DOTNL
        #endif
    #endif
    
#endif