e4s-game/gamedata/shaders/d3d11/debug_draw.lua
2026-06-18 01:18:29 +03:00

14 lines
No EOL
396 B
Lua

-- 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