add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
14
gamedata/shaders/d3d11/debug_draw.lua
Normal file
14
gamedata/shaders/d3d11/debug_draw.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
-- without depth test
|
||||
function l_special(shader, t_base, t_second, t_detail)
|
||||
shader:begin("debug_draw", "debug_draw")
|
||||
:zb(false, false)
|
||||
|
||||
shader:dx10texture("s_position", "$user$position")
|
||||
shader:dx10sampler("smp_nofilter")
|
||||
end
|
||||
|
||||
-- depth test
|
||||
function normal(shader, t_base, t_second, t_detail)
|
||||
shader:begin("debug_draw", "debug_draw_nodepth")
|
||||
:zb(true, false)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue