init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions
12
gamedata/shaders/r2/accum_volumetric.lua
Normal file
12
gamedata/shaders/r2/accum_volumetric.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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)
|
||||
shader:sampler("s_lmap"):texture(t_base):clamp()
|
||||
shader:sampler("s_smap"):texture("null")
|
||||
-- shader:sampler ("s_noise") :texture("fx\\fx_noise2") : f_linear ()
|
||||
shader:sampler("s_noise"):texture("fx\\fx_noise"):f_linear()
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue