add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
8
gamedata/shaders/r2/details_lod.lua
Normal file
8
gamedata/shaders/r2/details_lod.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function l_special(shader, t_base, t_second, t_detail)
|
||||
shader:begin("lod", "lod")
|
||||
:blend(false, blend.one, blend.zero)
|
||||
:zb(true, true)
|
||||
:fog(false)
|
||||
shader:sampler("s_base"):texture(t_base)
|
||||
shader:sampler("s_hemi"):texture(t_base .. "_nm")
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue