add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
22
gamedata/shaders/r2/effects_lightplanes.lua
Normal file
22
gamedata/shaders/r2/effects_lightplanes.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
--[[
|
||||
function normal (shader, t_base, t_second, t_detail)
|
||||
shader:begin ("dumb","dumb")
|
||||
: fog (false)
|
||||
: zb (false,false)
|
||||
: blend (true,blend.zero,blend.one)
|
||||
: aref (false,0)
|
||||
: sorting (2, false)
|
||||
shader:sampler ("s_base") :texture (t_base)
|
||||
end
|
||||
]]
|
||||
|
||||
function normal(shader, t_base, t_second, t_detail)
|
||||
shader:begin("base_lplanes", "base_lplanes")
|
||||
:fog(false)
|
||||
-- : fog (true)
|
||||
:zb(true, false)
|
||||
:blend(true, blend.srcalpha, blend.one)
|
||||
:aref(true, 0)
|
||||
:sorting(2, false)
|
||||
shader:sampler("s_base"):texture(t_base)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue