mirror of
https://github.com/muskit/H3VR-TNH-Quality-of-Life-Improvements.git
synced 2026-06-02 20:24:26 -07:00
42 lines
1.0 KiB
HLSL
Vendored
42 lines
1.0 KiB
HLSL
Vendored
// 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
|