|
@@ -1,3 +1,4 @@
|
|
|
|
+// {BEGIN_LICENSE}
|
|
/*
|
|
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project.
|
|
* 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.
|
|
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
@@ -5,24 +6,18 @@
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*
|
|
*/
|
|
*/
|
|
|
|
+// {END_LICENSE}
|
|
|
|
|
|
#pragma once
|
|
#pragma once
|
|
|
|
|
|
|
|
+// this file is included by 'scenesrg_all.srgi', which is included by each shader using the scene-srg.
|
|
// Please read README.md for an explanation on why scenesrg.srgi and viewsrg.srgi are
|
|
// Please read README.md for an explanation on why scenesrg.srgi and viewsrg.srgi are
|
|
// located in this folder (And how you can optionally customize your own scenesrg.srgi
|
|
// located in this folder (And how you can optionally customize your own scenesrg.srgi
|
|
// and viewsrg.srgi in your game project).
|
|
// and viewsrg.srgi in your game project).
|
|
|
|
|
|
#include <Atom/Features/SrgSemantics.azsli>
|
|
#include <Atom/Features/SrgSemantics.azsli>
|
|
|
|
|
|
-#define AZ_COLLECTING_PARTIAL_SRG_INCLUDES
|
|
|
|
-#include <Atom/Feature/Common/Assets/ShaderResourceGroups/ViewSrgIncludesAll.azsli>
|
|
|
|
-#undef AZ_COLLECTING_PARTIAL_SRG_INCLUDES
|
|
|
|
-
|
|
|
|
partial ShaderResourceGroup SceneSrg : SRG_PerScene
|
|
partial ShaderResourceGroup SceneSrg : SRG_PerScene
|
|
{
|
|
{
|
|
-/* Intentionally Empty. Helps define the SrgSemantic for SceneSrg once.*/
|
|
|
|
|
|
+ /* Intentionally Empty. Add fields here based on the project's needs */
|
|
};
|
|
};
|
|
-
|
|
|
|
-#define AZ_COLLECTING_PARTIAL_SRGS
|
|
|
|
-#include <Atom/Feature/Common/Assets/ShaderResourceGroups/SceneSrgAll.azsli>
|
|
|
|
-#undef AZ_COLLECTING_PARTIAL_SRGS
|
|
|