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

16 lines
No EOL
589 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)
-- TOD0: DX10: Implement samplers
-- shader:sampler ("s_vollight") :texture ("$user$generic2")
-- shader:sampler ("s_tonemap") :texture ("$user$tonemap")
shader:dx10texture ("s_vollight", "$user$generic2")
shader:dx10texture ("s_tonemap", "$user$tonemap")
shader:dx10sampler ("smp_nofilter")
end