Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed thread group cap and randomised seed not working on GPU #14

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

MrSmokedSalmon
Copy link

@MrSmokedSalmon MrSmokedSalmon commented Dec 13, 2022

FIX #1 TERRAIN SIZE LIMIT WHEN USING COMPUTE SHADER FOR TERRAIN GENERATION
Fixed a problem where the size of the terrain would exceed the maximum number of threads allowed. This error broke terrain generation using the compute shader on any terrain larger than 249x249.

New fix implements a method of multiple dispatches of the compute shader and allows for terrain of any size, limited by hardware capabilities.

FIX #2 SEED NOT RANDOMISING ON COMPUTE SHADER TERRAIN GENERATION
Fixed a problem where the seeds would not get randomised when using the compute shader.

New fix adds a missing line of code found in the C# terrain generation method.

@MrSmokedSalmon MrSmokedSalmon changed the title Fixed thread group maxing Fixed thread group cap and randomised seed not working on GPU Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add more info to README
1 participant