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,25 @@
|
||||
// Alloy Physical Shader Framework
|
||||
// Copyright 2013-2017 RUST LLC.
|
||||
// http://www.alloy.rustltd.com/
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
/// @file DecalAmbient.cginc
|
||||
/// @brief Ambient deferred decal surface shader definition.
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef ALLOY_SHADERS_DEFINITION_DECAL_AMBIENT_CGINC
|
||||
#define ALLOY_SHADERS_DEFINITION_DECAL_AMBIENT_CGINC
|
||||
|
||||
#include "Assets/Alloy/Shaders/Lighting/Unlit.cginc"
|
||||
#include "Assets/Alloy/Shaders/Type/DecalAmbient.cginc"
|
||||
|
||||
void aSurfaceShader(
|
||||
inout ASurface s)
|
||||
{
|
||||
half4 base = aBase(s);
|
||||
|
||||
s.baseColor = aLerpWhiteTo(base.rgb, base.a);
|
||||
aTeamColor(s);
|
||||
}
|
||||
|
||||
#endif // ALLOY_SHADERS_DEFINITION_DECAL_AMBIENT_CGINC
|
||||
Reference in New Issue
Block a user