Fixed missing multiplication in ShiftNoise.compute() #38
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A multiplication by 4 is missing from ShiftNoise.compute(), which causes excessive smoothness of biome generation.
After the fix it is consistent with cubiomes and Minecraft.
Before fix:
![before](https://private-user-images.githubusercontent.com/5619620/376735854-80cbea17-b8bd-4616-b05d-e30e48f02d42.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODQ0OTEsIm5iZiI6MTczODk4NDE5MSwicGF0aCI6Ii81NjE5NjIwLzM3NjczNTg1NC04MGNiZWExNy1iOGJkLTQ2MTYtYjA1ZC1lMzBlNDhmMDJkNDIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMDMwOTUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTYzODljMTJkZTllMmMwMjdhMWI5ZmMzOTE1MGU1ZGVmZjY0NGRjNGJjMTA3ZWJkYWFlNmRjNjc2ZjA5ZjlmOSZYLUFtei1TaWduZWR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