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

9 lines
330 B
Lua

function normal (shader, t_base, t_second, t_detail)
shader:begin ("model_def_lplanes","base_lplanes")
: fog (false)
: zb (true,false)
: blend (true,blend.srcalpha,blend.one)
: aref (true,0)
: sorting (2, true)
shader:sampler ("s_base") :texture (t_base)
end