17 lines
554 B
ArmAsm
17 lines
554 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: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
|