aboutsummaryrefslogtreecommitdiff
path: root/tools/ArtistTools/source/BlastPlugin/Shaders/common_buffers_ex.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ArtistTools/source/BlastPlugin/Shaders/common_buffers_ex.hlsl')
-rw-r--r--tools/ArtistTools/source/BlastPlugin/Shaders/common_buffers_ex.hlsl63
1 files changed, 0 insertions, 63 deletions
diff --git a/tools/ArtistTools/source/BlastPlugin/Shaders/common_buffers_ex.hlsl b/tools/ArtistTools/source/BlastPlugin/Shaders/common_buffers_ex.hlsl
deleted file mode 100644
index d6a37b0..0000000
--- a/tools/ArtistTools/source/BlastPlugin/Shaders/common_buffers_ex.hlsl
+++ /dev/null
@@ -1,63 +0,0 @@
-#ifndef COMMON_BUFFERS_HLSL
-#define COMMON_BUFFERS_HLSL
-
-cbuffer Camera : register(b0)
-{
- row_major matrix viewProjection;
- row_major matrix projectionInv;
- float3 viewPos;
-};
-
-struct Light
-{
- int m_enable;
- float3 m_dir;
-
- int m_useShadows;
- float3 m_color;
-
- float3 m_ambientColor;
- int m_isEnvLight;
-
- int m_lhs;
- int _reserved1;
- int _reserved2;
- int _reserved3;
-
- float m_depthBias;
- float m_depthGain;
- int m_useEnvMap;
- float m_intensity;
-
- row_major float4x4 m_viewMatrix;
- row_major float4x4 m_lightMatrix;
-};
-
-cbuffer World : register(b1)
-{
- float3 ambientColor;
- float3 pointLightPos;
- float3 pointLightColor;
- float3 dirLightDir;
- float specularPower;
- float3 dirLightColor;
- float specularIntensity;
- float g_flatNormal;
- float g_wireFrameOver;
- float g_useLighting;
- Light g_Light[4];
-};
-
-cbuffer Object : register(b2)
-{
- row_major matrix worldMatrix;
- float4 m_diffuseColor;
- float4 m_specularColor;
- float m_useDiffuseTexture;
- float m_useSpecularTexture;
- float m_useNormalTexture;
- float m_specularShininess;
- float selected;
-};
-
-#endif \ No newline at end of file