Jump to content


  • Content count

  • Joined

  • Last visited

About Kerfuffles

  • Rank
  • Birthday 07/14/1994

Profile Information

  • Gender
  1. Kerfuffles

    Vertex Toolbar improvement

    Actually, that is exactly the issue! I had completely forgotten about that bug until you had mentioned it. Going back over my code, I noticed I set the texture to use gamma space explicitly, which is why it was exempt from the gamma correction bug. Perhaps a possible workaround until the bug is resolved?
  2. Kerfuffles

    Vertex Toolbar improvement

    This is using the default code. Using my patch, I get this: It seems like GUI.color adds whatever color you set as a tint (logically), causing the colors to appear washed out when not full saturation colors.
  3. Kerfuffles

    Vertex Toolbar improvement

    In messing about with the vertex toolbar code, I stumbled across how colors are set for the swatch previews and noticed that they inaccurately display what color they are set to. To fix this, and the performance seems alright up until about 30 swatches, is to generate 1 or 2px textures and set their colors instead. You would comment out any GUI.color code inside the loop drawing the swatches, and add this: Texture2D swatchTex = new Texture2D( 2, 2, TextureFormat.ARGB32, false, false ); for( int x = 0; x < swatchTex.width; x++ ) { for( int y = 0; y < swatchTex.height; y++ ) { swatchTex.SetPixel( x, y, USER_COLORS[i] ); } } swatchTex.Apply( false, false ); and then draw it normally with the existing DrawPreviewTexture() call. EditorGUI.DrawPreviewTexture( layoutRect, swatchTex, null, ScaleMode.StretchToFill, 0 ); This will then display accurately what color the user has set without noticeable overhead.
  4. Kerfuffles

    Quick question about acquiring source code

    Thanks for the help! And hey, we are all busy here, its cool. Cheers!
  5. Kerfuffles

    Quick question about acquiring source code

    My apologies, failed explaining the problem. Was rushed getting off break @ work. I dont see any dowmloads in my toolbox right now. Just my information and "your downloads will appear here".
  6. Sunday afternoon I forwarded my ProBuilder invoice to support, and still have not heard back yet or seen any changes in my toolbox. Is there an average wait time I should know about or something? Did I do something wrong? Thanks for your time, Daniel