aboutsummaryrefslogtreecommitdiff
path: root/samples/resources/shaders/common_buffers.hlsl
diff options
context:
space:
mode:
authorBryan Galdrikian <[email protected]>2018-05-31 11:36:08 -0700
committerBryan Galdrikian <[email protected]>2018-05-31 11:36:08 -0700
commit7115f60b91b5717d90f643fd692010905c7004db (patch)
treeeffd68c6978751c517d54c2f2bb5bb6e7dc93e18 /samples/resources/shaders/common_buffers.hlsl
parentUpdating BlastTool zip (diff)
downloadblast-1.1.3_rc1.tar.xz
blast-1.1.3_rc1.zip
Blast 1.1.3. See docs/release_notes.txt.v1.1.3_rc1
Diffstat (limited to 'samples/resources/shaders/common_buffers.hlsl')
-rwxr-xr-x[-rw-r--r--]samples/resources/shaders/common_buffers.hlsl54
1 files changed, 27 insertions, 27 deletions
diff --git a/samples/resources/shaders/common_buffers.hlsl b/samples/resources/shaders/common_buffers.hlsl
index 1aa3386..4332370 100644..100755
--- a/samples/resources/shaders/common_buffers.hlsl
+++ b/samples/resources/shaders/common_buffers.hlsl
@@ -1,28 +1,28 @@
-#ifndef COMMON_BUFFERS_HLSL
-#define COMMON_BUFFERS_HLSL
-
-cbuffer Camera : register(b0)
-{
- row_major matrix viewProjection;
- row_major matrix projectionInv;
- float3 viewPos;
-};
-
-cbuffer World : register(b1)
-{
- float3 ambientColor;
- float3 pointLightPos;
- float3 pointLightColor;
- float3 dirLightDir;
- float specularPower;
- float3 dirLightColor;
- float specularIntensity;
-};
-
-cbuffer Object : register(b2)
-{
- row_major matrix model;
- float4 defaultColor;
-};
-
+#ifndef COMMON_BUFFERS_HLSL
+#define COMMON_BUFFERS_HLSL
+
+cbuffer Camera : register(b0)
+{
+ row_major matrix viewProjection;
+ row_major matrix projectionInv;
+ float3 viewPos;
+};
+
+cbuffer World : register(b1)
+{
+ float3 ambientColor;
+ float3 pointLightPos;
+ float3 pointLightColor;
+ float3 dirLightDir;
+ float specularPower;
+ float3 dirLightColor;
+ float specularIntensity;
+};
+
+cbuffer Object : register(b2)
+{
+ row_major matrix model;
+ float4 defaultColor;
+};
+
#endif \ No newline at end of file