e4s-sdk/gamedata/shaders/r2/combine_volumetric.s
2026-06-17 23:06:51 +03:00

10 lines
No EOL
406 B
ArmAsm

function normal (shader, t_base, t_second, t_detail)
shader:begin ("combine_1", "combine_volumetric")
: fog (false)
: zb (false,false)
: blend (true,blend.one,blend.one)
-- : aref (true,0) -- enable to save bandwith?
: sorting (2, false)
shader:sampler ("s_vollight") :texture ("$user$generic2")
shader:sampler ("s_tonemap") :texture ("$user$tonemap")
end