perlin noise generation and height maps
This commit is contained in:
1 parent
15aba4f901
commit
561df24953
10 files changed
+151
-34
No files matched your search
@@ -17,6 +17,8 @@ void main()
|
||||
// Dirt - brownish
|
||||
color *= vec3(0.6, 0.4, 0.2);
|
||||
} else if (v_VoxelKind == 2.0) {
|
||||
color *= vec3(0.2, 0.8, 0.2);
|
||||
} else if (v_VoxelKind == 3.0) {
|
||||
// Stone - grayish (keep as is)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user