Jump to content

Recommended Posts

Posted

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!!!

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.

Guest
Reply to this topic...

×   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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..