aboutsummaryrefslogtreecommitdiff
path: root/samples/resources/shaders/unlit_transparent.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/unlit_transparent.hlsl
parentUpdating BlastTool zip (diff)
downloadblast-7115f60b91b5717d90f643fd692010905c7004db.tar.xz
blast-7115f60b91b5717d90f643fd692010905c7004db.zip
Blast 1.1.3. See docs/release_notes.txt.v1.1.3_rc1
Diffstat (limited to 'samples/resources/shaders/unlit_transparent.hlsl')
-rwxr-xr-x[-rw-r--r--]samples/resources/shaders/unlit_transparent.hlsl52
1 files changed, 26 insertions, 26 deletions
diff --git a/samples/resources/shaders/unlit_transparent.hlsl b/samples/resources/shaders/unlit_transparent.hlsl
index 0c2158a..e2bb6c8 100644..100755
--- a/samples/resources/shaders/unlit_transparent.hlsl
+++ b/samples/resources/shaders/unlit_transparent.hlsl
@@ -1,27 +1,27 @@
-#include "common_buffers.hlsl"
-
-struct VS_INPUT
-{
- float3 position : POSITION0;
- float3 normal : NORMAL0;
-};
-
-struct VS_OUTPUT
-{
- float4 position : SV_POSITION;
-};
-
-VS_OUTPUT VS(VS_INPUT iV)
-{
- VS_OUTPUT oV;
-
- float4 worldSpacePos = mul(float4(iV.position, 1.0f), model);
- oV.position = mul(worldSpacePos, viewProjection);
-
- return oV;
-}
-
-float4 PS(VS_OUTPUT iV) : SV_Target0
-{
- return defaultColor;
+#include "common_buffers.hlsl"
+
+struct VS_INPUT
+{
+ float3 position : POSITION0;
+ float3 normal : NORMAL0;
+};
+
+struct VS_OUTPUT
+{
+ float4 position : SV_POSITION;
+};
+
+VS_OUTPUT VS(VS_INPUT iV)
+{
+ VS_OUTPUT oV;
+
+ float4 worldSpacePos = mul(float4(iV.position, 1.0f), model);
+ oV.position = mul(worldSpacePos, viewProjection);
+
+ return oV;
+}
+
+float4 PS(VS_OUTPUT iV) : SV_Target0
+{
+ return defaultColor;
} \ No newline at end of file