add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
10
gamedata/shaders/r1/postprocess_d.lua
Normal file
10
gamedata/shaders/r1/postprocess_d.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
-- distort
|
||||
function normal(shader, t_base, t_second, t_detail)
|
||||
shader:begin("null", "postprocess_d")
|
||||
:fog(false)
|
||||
:zb(false, false)
|
||||
shader:sampler("s_distort"):texture(t_distort):clamp():f_linear()
|
||||
shader:sampler("s_base0"):texture(t_rt):clamp():f_linear()
|
||||
shader:sampler("s_base1"):texture(t_rt):clamp():f_linear()
|
||||
shader:sampler("s_noise"):texture(t_noise):f_linear()
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue