init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions
10
gamedata/shaders/r2/particles_add.lua
Normal file
10
gamedata/shaders/r2/particles_add.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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:sampler("s_base"):texture(t_base)
|
||||
shader:sampler("s_position"):texture("$user$position"):f_none()
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue