add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
11
gamedata/shaders/r3/portal.s
Normal file
11
gamedata/shaders/r3/portal.s
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
function normal (shader, t_base, t_second, t_detail)
|
||||
-- shader :begin ("portal","simple_color")
|
||||
shader :begin ("portal","portal")
|
||||
:fog (true)
|
||||
:zb (true,false)
|
||||
:sorting (3, true)
|
||||
:blend (true,blend.srcalpha,blend.invsrcalpha)
|
||||
-- TODO: DX10: Setup samplers
|
||||
-- shader :sampler ("s_tonemap") :texture ("$user$tonemap")
|
||||
shader:dx10texture ("s_tonemap", "$user$tonemap")
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue