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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...