mirror of
https://github.com/muskit/H3VR-TNH-Quality-of-Life-Improvements.git
synced 2026-06-03 04:34:26 -07:00
37 lines
959 B
HLSL
Vendored
37 lines
959 B
HLSL
Vendored
// 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
|