mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 23:41:50 +00:00
refactor res/shaders
This commit is contained in:
parent
52381d5afa
commit
8e159009eb
16 changed files with 85 additions and 61 deletions
|
|
@ -19,7 +19,7 @@ vec4 apply_vignette(vec4 color) {
|
|||
}
|
||||
|
||||
void main() {
|
||||
f_color = texture(u_texture0, v_coord);
|
||||
f_color = apply_vignette(f_color);
|
||||
f_color = texture(u_texture0, v_coord);
|
||||
f_color = apply_vignette(f_color);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue