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