Rover Posted May 7, 2008 Posted May 7, 2008 Hello everybody, I have a doubt about the color values. How can I convert the RGB values, to the values used in the .INI files? This is an example: Suppose I use an specific color value for the sky, moonlight, lensflare, diffuse color, or whatever. Using a paint program, I extract the color that I want and I get this values: RED:0 GREEN: 162 BLUE: 245 How can I convert to this values: AmbientColor=1.000000,1.000000,1.000000,1.000000 or Color=1.0,0.6,0.2,0.2 Thank you!!! Quote
+Deuces Posted May 7, 2008 Posted May 7, 2008 (edited) This will help..old project...works both ways. The last value is Alpha. RGB Conversion Edited May 7, 2008 by Deuces Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.