add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
21
gamedata/shaders/r3/accum_volumetric.s
Normal file
21
gamedata/shaders/r3/accum_volumetric.s
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
function normal (shader, t_base, t_second, t_detail)
|
||||
shader:begin ("accum_volumetric", "accum_volumetric")
|
||||
: fog (false)
|
||||
: zb (true,false)
|
||||
: blend (true,blend.one,blend.one)
|
||||
-- : aref (true,0)
|
||||
: sorting (2, false)
|
||||
-- TODO: Implement sampler states
|
||||
-- shader:sampler ("s_lmap") :texture (t_base): clamp()
|
||||
-- shader:sampler ("s_smap") :texture ("null")
|
||||
-- shader:sampler ("s_noise") :texture("fx\\fx_noise") : f_linear ()
|
||||
|
||||
shader:dx10texture ("s_lmap", t_base)
|
||||
shader:dx10texture ("s_smap", "null")
|
||||
shader:dx10texture ("s_noise", "fx\\fx_noise")
|
||||
|
||||
shader:dx10sampler ("smp_rtlinear")
|
||||
shader:dx10sampler ("smp_linear")
|
||||
-- shader:dx10sampler ("smp_jitter")
|
||||
shader:dx10sampler ("smp_smap")
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue