Files
H3VR-TNH-Quality-of-Life-Im…/Assets/Alloy/Shaders/Definition/SpeedTree.cginc
T

37 lines
959 B
HLSL
Raw Normal View History

2022-01-22 20:13:49 -08:00
// Alloy Physical Shader Framework
// Copyright 2013-2017 RUST LLC.
// http://www.alloy.rustltd.com/
/////////////////////////////////////////////////////////////////////////////////
/// @file SpeedTree.cginc
/// @brief SpeedTree surface shader definition.
/////////////////////////////////////////////////////////////////////////////////
#ifndef ALLOY_SHADERS_DEFINITION_SPEED_TREE_CGINC
#define ALLOY_SHADERS_DEFINITION_SPEED_TREE_CGINC
#define A_SPEED_TREE_ON
#define A_SPECULAR_TINT_ON
#include "Assets/Alloy/Shaders/Lighting/Standard.cginc"
#include "Assets/Alloy/Shaders/Type/SpeedTree.cginc"
void aSurfaceShader(
inout ASurface s)
{
aParallax(s);
aDissolve(s);
aSpeedTree(s);
s.specularity = _Specularity;
s.specularTint = _SpecularTint;
s.roughness = _Roughness;
aTeamColor(s);
aDecal(s);
aWetness(s);
aTwoSided(s);
aRim(s);
aEmission(s);
}
#endif // ALLOY_SHADERS_DEFINITION_SPEED_TREE_CGINC