Initial commit

This commit is contained in:
msk
2022-01-22 20:13:49 -08:00
parent f9d23e5bcf
commit 687473573d
878 changed files with 70957 additions and 0 deletions
@@ -0,0 +1,42 @@
// Alloy Physical Shader Framework
// Copyright 2013-2017 RUST LLC.
// http://www.alloy.rustltd.com/
/////////////////////////////////////////////////////////////////////////////////
/// @file WeightedBlend.cginc
/// @brief Weighted Blend shader definition.
/////////////////////////////////////////////////////////////////////////////////
#ifndef ALLOY_SHADERS_DEFINITION_WEIGHTED_BLEND_CGINC
#define ALLOY_SHADERS_DEFINITION_WEIGHTED_BLEND_CGINC
#define A_MAIN_TEXTURES_ON
#define A_MAIN_TEXTURES_CUTOUT_OFF
#define A_WEIGHTED_BLEND_ON
#define A_SECONDARY_TEXTURES_ON
#include "Assets/Alloy/Shaders/Lighting/Standard.cginc"
#include "Assets/Alloy/Shaders/Type/Standard.cginc"
void aSurfaceShader(
inout ASurface s)
{
aParallax(s);
aDissolve(s);
aMainTextures(s);
aDetail(s);
aTeamColor(s);
aEmission(s);
aHeightmapBlend(s);
aSecondaryTextures(s);
aCutout(s);
s.mask = 1.0h;
aAo2(s);
aDecal(s);
aWetness(s);
aRim(s);
}
#endif // ALLOY_SHADERS_DEFINITION_WEIGHTED_BLEND_CGINC