init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions
9
gamedata/shaders/r1/postprocess.lua
Normal file
9
gamedata/shaders/r1/postprocess.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
-- normal pp
|
||||
function normal(shader, t_base, t_second, t_detail)
|
||||
shader:begin("null", "postprocess")
|
||||
:fog(false)
|
||||
:zb(false, false)
|
||||
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