init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 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