Consolidate alpha retrieval and clip
Signed-off-by: Jeremy Ong <jcong@amazon.com>monroegm-disable-blank-issue-2
parent
61f915366a
commit
7aace39c2f
@ -1,14 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
|
||||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <Atom/Features/PBR/AlphaUtils.azsli>
|
|
||||||
|
|
||||||
void MaybeClip(float alpha, float2 uvs[UvSetCount])
|
|
||||||
{
|
|
||||||
CheckClipping(alpha, MaterialSrg::m_opacityFactor);
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue