📄 shadow.vs
字号:
//
// Generated by Microsoft (R) D3DX9 Shader Compiler
//
// Source: shadow.fx
// Flags: /E:main /T:vs_2_0
//
// Parameters:
//
// float4x4 matIW;
// float4x4 matP;
// float4x4 matWV;
// float4 vLightPos;
//
//
// Registers:
//
// Name Reg Size
// ------------ ----- ----
// matIW c0 4
// matP c4 4
// matWV c8 3
// vLightPos c11 1
//
vs_2_0
def c12, 0, 0.01, 1, 9.99
dcl_position v0
dcl_normal v1
mov r1, c3
dp4 r0.w, c11, r1
mov r1, c0
dp4 r0.x, c11, r1
mov r1, c1
dp4 r0.y, c11, r1
mov r1, c2
dp4 r0.z, c11, r1
dp4 r0.w, r0, r0
rsq r0.w, r0.w
mul r7.xyz, r0, r0.w
dp3 r7.w, v1, r7
sge r7.w, c12.x, r7.w
mad r7.w, r7.w, c12.w, c12.y
mad r4.xyz, r7, -r7.w, v0
mov r4.w, c12.z
m4x3 r11.xyz, r4, c8
mov r11.w, c12.z
m4x4 oPos, r11, c4
// approximately 24 instruction slots used
// 0000: fffe0200 0030fffe 42415443 00000014 _.....0_CTAB.___
// 0010: 000000a4 fffe0200 00000004 00000014 .____....___.___
// 0020: 00000064 00000002 00000004 0000006c d___.___.___l___
// 0030: 00000000 0000007c 00040002 00000004 ____|___._._.___
// 0040: 0000006c 00000000 00000081 00080002 l_______.___._._
// 0050: 00000003 0000006c 00000000 00000087 .___l_______.___
// 0060: 000b0002 00000001 00000094 00000000 ._._.___._______
// 0070: 4974616d abab0057 00030003 00040004 matIW_..._._._._
// 0080: 00000001 00000000 5074616d 74616d00 ._______matP_mat
// 0090: 76005657 6867694c 736f5074 ababab00 WV_vLightPos_...
// 00a0: 00030001 00040001 00000001 00000000 ._._._._._______
// 00b0: 58443344 68532039 72656461 6d6f4320 D3DX9 Shader Com
// 00c0: 656c6970 abab0072 05000051 a00f000c piler_..Q__.._..
// 00d0: 00000000 3c23d70a 3f800000 411fd70a ____..#<__.?...A
// 00e0: 0200001f 80000000 900f0000 0200001f .__.___.__...__.
// 00f0: 80000003 900f0001 02000001 800f0001 .__.._...__.._..
// 0100: a0e40003 03000009 80080000 a0e4000b ._...__.__..._..
// 0110: 80e40001 02000001 800f0001 a0e40000 ._...__.._..__..
// 0120: 03000009 80010000 a0e4000b 80e40001 .__.__..._..._..
// 0130: 02000001 800f0001 a0e40001 03000009 .__.._..._...__.
// 0140: 80020000 a0e4000b 80e40001 02000001 __..._..._...__.
// 0150: 800f0001 a0e40002 03000009 80040000 ._..._...__.__..
// 0160: a0e4000b 80e40001 03000009 80080000 ._..._...__.__..
// 0170: 80e40000 80e40000 02000007 80080000 __..__...__.__..
// 0180: 80ff0000 03000005 80070007 80e40000 __...__.._..__..
// 0190: 80ff0000 03000008 80080007 90e40001 __...__.._..._..
// 01a0: 80e40007 0300000d 80080007 a000000c ._...__.._...__.
// 01b0: 80ff0007 04000004 80080007 80ff0007 ._...__.._..._..
// 01c0: a0ff000c a055000c 04000004 80070004 ._..._U..__.._..
// 01d0: 80e40007 81ff0007 90e40000 02000001 ._..._..__...__.
// 01e0: 80080004 a0aa000c 03000015 8007000b ._..._...__.._..
// 01f0: 80e40004 a0e40008 02000001 8008000b ._..._...__.._..
// 0200: a0aa000c 03000014 c00f0000 80e4000b ._...__.__..._..
// 0210: a0e40004 0000ffff ._....__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -