init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 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