38261d0800
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines Signed-off-by: Steve Pham <spham@amazon.com>
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
/*
|
|
* 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
|
|
*
|
|
*/
|
|
|
|
#ifndef AZ_COLLECTING_PARTIAL_SRGS
|
|
#error Do not include this file directly. Include the main .srgi file instead.
|
|
#endif
|
|
|
|
partial ShaderResourceGroup SceneSrg
|
|
{
|
|
// Parameters definition can be found in SkyBoxSystem.h and SkyBoxBus.h
|
|
struct PhysicalSkyData
|
|
{
|
|
float4 m_physicalSkyParameterA;
|
|
float4 m_physicalSkyParameterB;
|
|
float4 m_physicalSkyParameterC;
|
|
float4 m_physicalSkyParameterD;
|
|
float4 m_physicalSkyParameterE;
|
|
float4 m_physicalSkyParameterF;
|
|
float4 m_physicalSkyParameterG;
|
|
float4 m_physicalSkyParameterH;
|
|
float4 m_physicalSkyParameterI;
|
|
float4 m_physicalSkyParameterZ;
|
|
float4 m_physicalSkySunParameters;
|
|
float4 m_physicalSkySunDirection;
|
|
float4 m_physicalSkySunRGB;
|
|
float4 m_physicalSkyAndSunIntensity;
|
|
};
|
|
|
|
bool m_enable;
|
|
|
|
ConstantBuffer<PhysicalSkyData> m_physicalSkyData;
|
|
bool m_physicalSky;
|
|
|
|
float m_fogTopHeight;
|
|
float m_fogBottomHeight;
|
|
float4 m_fogColor;
|
|
bool m_fogEnable;
|
|
|
|
TextureCube m_skyboxCubemap;
|
|
float4x4 m_cubemapRotationMatrix;
|
|
float m_cubemapExposure;
|
|
}
|
|
|