🎉 Initialize mod and implement Wuhu Island day map
This commit is contained in:
commit
92488f71fa
1200 changed files with 132783 additions and 0 deletions
16
Assets/SLZShaders/Include/PlatformSamplers.hlsl
Normal file
16
Assets/SLZShaders/Include/PlatformSamplers.hlsl
Normal file
|
@ -0,0 +1,16 @@
|
|||
#if defined(SHADER_API_MOBILE) // Quest 2 (XR2) works better with combined texture-samplers apparently
|
||||
|
||||
#ifdef TEXTURE2D
|
||||
#undef TEXTURE2D
|
||||
#endif
|
||||
#ifdef SAMPLER
|
||||
#undef SAMPLER
|
||||
#endif
|
||||
#ifdef SAMPLE_TEXTURE2D
|
||||
#undef SAMPLE_TEXTURE2D
|
||||
#endif
|
||||
|
||||
#define TEXTURE2D(textureName) sampler2D textureName
|
||||
#define SAMPLER(samplerName)
|
||||
#define SAMPLE_TEXTURE2D(textureName, samplerName, coord) tex2D(textureName, coord)
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue