Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  

>>Thread group size must be above zero<< Error!


Hi guys, It's a part of SEGI codes.


  1.     if (i == 0)
  2.                 {
  3.                     source = activeVolume;
  4.                 }
  5.                 int destinationRes = (int)voxelResolution / Mathf.RoundToInt(Mathf.Pow((float)2, (float)i + 1.0f));
  6.                 mipFilterCompute.SetInt("destinationRes", destinationRes);
  7.                 mipFilterCompute.SetTexture(mipFilterKernel, "Source", source);
  8.                 mipFilterCompute.SetTexture(mipFilterKernel, "Destination", volumeTextures[i + 1]);
  9.                 mipFilterCompute.Dispatch(mipFilterKernel, destinationRes / 8, destinationRes / 8, 1);
  10.                 Shader.SetGlobalTexture("SEGIVolumeLevel" + (i + 1).ToString(), volumeTextures[i + 1]);


I get an error that caused by line 9. Anybody know why that line makes below error?


Please login or register to see this quote.



Edited by 88888888

Share this post

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this