mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
screen shader replaced with default
This commit is contained in:
parent
8328db74fe
commit
8ea3db9962
3 changed files with 2 additions and 6 deletions
|
|
@ -2,12 +2,8 @@ in vec2 v_coord;
|
|||
out vec4 f_color;
|
||||
|
||||
uniform sampler2D u_texture0;
|
||||
uniform float u_timer;
|
||||
|
||||
void main(){
|
||||
vec2 coord = v_coord;
|
||||
coord.x += sin(u_timer*5.0+coord.x*4.0) * 0.02;
|
||||
coord.y += cos(u_timer*5.0+coord.y*4.0) * 0.02;
|
||||
f_color = texture(u_texture0, coord);
|
||||
f_color = texture(u_texture0, v_coord);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue