1
Fork 0
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:
Steffo 2023-01-08 22:02:04 +01:00
parent d061a6a9c2
commit 8cad758411
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -3,7 +3,7 @@ shader_type spatial;
uniform float speed_x;
uniform float speed_y;
uniform float size;
uniform sampler2D sea;
uniform sampler2D sea: filter_nearest;
void fragment() {
float x = fract(UV.x * size + sin(TIME) * speed_x);