hypsographic curve
This commit is contained in:
parent
edffc76e05
commit
9a3be12f0f
7 changed files with 66 additions and 18 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue