init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 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