add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
12
gamedata/shaders/r3/friendly_indicator.s
Normal file
12
gamedata/shaders/r3/friendly_indicator.s
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
function normal (shader, t_base, t_second, t_detail)
|
||||
shader :begin ("stub_default","stub_default")
|
||||
|
||||
:blend (true,blend.srcalpha,blend.invsrcalpha)
|
||||
:zb (true,false)
|
||||
|
||||
-- Decouple sampler and texture
|
||||
-- shader:sampler ("s_base") : texture(t_base) : clamp() : f_linear ()
|
||||
-- TODO: DX10: move stub_default to smp_rtlinear
|
||||
shader:dx10texture ("s_base", t_base)
|
||||
shader:dx10sampler ("smp_base")
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue