cooking even fancier water shader
This commit is contained in:
parent
a72bf3107a
commit
8eb5a6131f
10 changed files with 125 additions and 46 deletions
|
|
@ -12,7 +12,7 @@ uniform float amplitude = 1.0;
|
|||
#include "res://src/shaders/vertex_fun.gdshaderinc"
|
||||
|
||||
void vertex() {
|
||||
VERTEX += wobble(VERTEX, frequency, amplitude);
|
||||
VERTEX += wobble(VERTEX / 64.0, frequency, amplitude, 1);
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
|
|
|
|||
|
|
@ -6,5 +6,5 @@ uniform float amplitude = 1.0;
|
|||
#include "res://src/shaders/vertex_fun.gdshaderinc"
|
||||
|
||||
void vertex() {
|
||||
VERTEX += wobble(VERTEX, frequency, amplitude);
|
||||
VERTEX += wobble(VERTEX / 64.0, frequency, amplitude, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue