add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
16
gamedata/shaders/r2/models_zoom_lerp.lua
Normal file
16
gamedata/shaders/r2/models_zoom_lerp.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
local tex_env0 = "$user$sky0"
|
||||
local tex_env1 = "$user$sky1"
|
||||
|
||||
function normal (shader, t_base, t_second, t_detail)
|
||||
shader:begin ("model_env_lq","model_scope_lense_lerp")
|
||||
: fog (true)
|
||||
: zb (true,false)
|
||||
: blend (true,blend.srcalpha,blend.invsrcalpha)
|
||||
: aref (true,0)
|
||||
: sorting (2,true)
|
||||
: distort (true)
|
||||
shader:sampler ("s_base") :texture (t_base)
|
||||
shader:sampler ("s_vp2") :texture ("$user$scope")
|
||||
-- shader:sampler ("s_env0") :texture (tex_env0) : clamp()
|
||||
-- shader:sampler ("s_env1") :texture (tex_env1) : clamp()
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue