All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ShaderMacros.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #if defined (EEGEO_IOS)
6 #define TEXTURE2D(s, uv) "texture2D(" #s "," #uv ", -1.0)"
7 #else
8 #define TEXTURE2D(s, uv) "texture2D(" #s "," #uv ")"
9 #endif
10 #define EEGEO_ALPHA_TEST_VALUE "0.5"