mirror of
https://github.com/muskit/H3VR-TNH-Quality-of-Life-Improvements.git
synced 2026-06-03 04:34:26 -07:00
Initial commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
// Alloy Physical Shader Framework
|
||||
// Copyright 2013-2017 RUST LLC.
|
||||
// http://www.alloy.rustltd.com/
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
/// @file DirectionalBlend.cginc
|
||||
/// @brief Directional Blend shader definition.
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef ALLOY_SHADERS_DEFINITION_DIRECTIONAL_BLEND_CGINC
|
||||
#define ALLOY_SHADERS_DEFINITION_DIRECTIONAL_BLEND_CGINC
|
||||
|
||||
#define A_MAIN_TEXTURES_ON
|
||||
#define A_MAIN_TEXTURES_CUTOUT_OFF
|
||||
#define A_DIRECTIONAL_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);
|
||||
aDecal(s);
|
||||
aEmission(s);
|
||||
aDirectionalBlend(s);
|
||||
aSecondaryTextures(s);
|
||||
aCutout(s);
|
||||
|
||||
s.mask = 1.0h;
|
||||
aAo2(s);
|
||||
aWetness(s);
|
||||
aRim(s);
|
||||
}
|
||||
|
||||
#endif // ALLOY_SHADERS_DEFINITION_DIRECTIONAL_BLEND_CGINC
|
||||
Reference in New Issue
Block a user