mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-21 23:34:21 +00:00
Fix sea texture interpolation
This commit is contained in:
parent
d061a6a9c2
commit
8cad758411
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ shader_type spatial;
|
||||||
uniform float speed_x;
|
uniform float speed_x;
|
||||||
uniform float speed_y;
|
uniform float speed_y;
|
||||||
uniform float size;
|
uniform float size;
|
||||||
uniform sampler2D sea;
|
uniform sampler2D sea: filter_nearest;
|
||||||
|
|
||||||
void fragment() {
|
void fragment() {
|
||||||
float x = fract(UV.x * size + sin(TIME) * speed_x);
|
float x = fract(UV.x * size + sin(TIME) * speed_x);
|
||||||
|
|
Loading…
Reference in a new issue