Get perlin noise generator working with tessellation shaders

This commit is contained in:
2024-04-13 03:03:42 -04:00
parent e5a8b0db8c
commit 8c3eda0e37
8 changed files with 55 additions and 6 deletions

View File

@@ -295,7 +295,7 @@ namespace fgl::engine
};
//Texture texture { Texture::loadFromFile( "models/Vally/textures/heightmap.png" ) };
Texture texture { Texture::generateFromPerlinNoise( 1024, 1024 ) };
Texture texture { Texture::generateFromPerlinNoise( 1024, 1024, 120 ) };
Sampler sampler { vk::Filter::eLinear,
vk::Filter::eLinear,