BoltBait Posted October 9, 2006 Share Posted October 9, 2006 Rick, Currently, when writing an effect, we have access to the RGB and A values for the current pixel and the primary/secondary colors, like this: CurrentPixel.R = (byte)PrimaryColor.R; CurrentPixel.G = (byte)PrimaryColor.G; CurrentPixel.B = (byte)PrimaryColor.B; CurrentPixel.A = (byte)PrimaryColor.A; Could we also have access to get/set the H, S, and V values of those objects? Or, as a workaround, is there a function I can call, within a codelab script, that will convert between RGB and HSV (both directions)? Thanks. Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.