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!!!
+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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now