Divergent/mods/Screen Space Shaders/gamedata/shaders/r3/combine_volumetric.s

17 lines
554 B
ArmAsm
Raw Normal View History

2024-03-17 20:18:03 -04:00
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:dx10texture ("s_vollight", "$user$generic2")
shader:dx10texture ("s_tonemap", "$user$tonemap")
shader:dx10texture ("noise_tex", "fx\\blue_noise")
shader:dx10texture ("s_position", "$user$position")
shader:dx10sampler ("smp_linear")
shader:dx10sampler ("smp_nofilter")
end