diff --git a/engine b/engine index 026ead0..cdfce62 160000 --- a/engine +++ b/engine @@ -1 +1 @@ -Subproject commit 026ead0b33d1655a10f83d24ed2cb387b7ebcc43 +Subproject commit cdfce62c909cfeb50a7dec261c47331a5573e44e diff --git a/game/game.py b/game/game.py index bdad261..a51ff2a 100644 --- a/game/game.py +++ b/game/game.py @@ -56,7 +56,7 @@ def main(): sky_shader = shader.load('sky') heightmap = create_texture( - TEXTURE_FORMAT_32F, 256, 256, 0, TEXTURE_FLAG_MIN_LINEAR | TEXTURE_FLAG_MAG_LINEAR, + TEXTURE_FORMAT_FLOAT_32, 256, 256, 0, TEXTURE_FLAG_MIN_LINEAR | TEXTURE_FLAG_MAG_LINEAR, generated.packed_heights) terrain_heightmap_sampler = resolve_input(terrain_shader, b'u_height_sampler') tests_heightmap_sampler = resolve_input(tests_shader, b'u_height_sampler')