add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
14
gamedata/shaders/d3d11/particles_add.lua
Normal file
14
gamedata/shaders/d3d11/particles_add.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
function normal(shader, t_base, t_second, t_detail)
|
||||
shader:begin("particle", "particle_add")
|
||||
:sorting(3, false)
|
||||
:blend(true, blend.one, blend.one)
|
||||
:aref(false, 0)
|
||||
:zb(true, false)
|
||||
:fog(false)
|
||||
|
||||
shader:dx10texture("s_base", t_base)
|
||||
shader:dx10texture("s_position", "$user$position")
|
||||
|
||||
shader:dx10sampler("smp_base")
|
||||
shader:dx10sampler("smp_nofilter")
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue