hypsographic curve

This commit is contained in:
Aada 2026-03-03 22:05:17 +02:00
parent edffc76e05
commit 9a3be12f0f
7 changed files with 66 additions and 18 deletions

View file

@ -8,7 +8,7 @@ void vertex() {
// Called for every vertex the material is visible on.
world_position = VERTEX;
color = COLOR.r;
VERTEX += VERTEX * COLOR.q * 0.1f;
VERTEX += VERTEX * COLOR.q * 0.03f;
}
void fragment() {