Implement perlin frequency

This commit is contained in:
CJSatnarine
2024-07-09 17:36:11 -04:00
parent b3e5adb4a2
commit 3bbb02ee94
5 changed files with 353906 additions and 353903 deletions

View File

@@ -146,7 +146,7 @@ void funny() {
void perlinSpheres() {
hittableList world;
auto perlinTexture = make_shared<noiseTexture>();
auto perlinTexture = make_shared<noiseTexture>(4);
world.add(make_shared<sphere>(point3(0,-1000,0), 1000, make_shared<lambertian>(perlinTexture)));
world.add(make_shared<sphere>(point3(0,2,0), 2, make_shared<lambertian>(perlinTexture)));