Author Topic: Manual Fog Color Change [Solved]  (Read 782 times)

Trying to change fog color in a slate edit.

Quote
fogColor = "0.800000 0.800000 0.800000 0.800000";

What kind of color values are these? I want to change it to a darkish red (maroon).
 
EDIT: Osht wrong forum. Swear I clicked mapping help. :c
« Last Edit: January 16, 2011, 07:08:21 PM by Sheath »

Have you seriously never come across this system? I mean really? =/ It's used everywhere in Blockland. I don't know it's official name since it's used outside of Torque too, but I just call it "Torque" for sake of clarification. It works like this:
  • 1 in Torque equals 255 in RGB
  • 0.5 in Torque equals 127 or 128 (Matter of taste) in RGB
  • 0 in Torque equals 0 in RGB
It's pretty straight forward. To convert RGB values to Torque you divide them by 255. Then of course to convert Torque to RGB you multiply it by 255.

Maroon, which is (128 0 0) in RGB is (0.5 0 0) in Torque.

Opera Mauve color is (183 132 167) in RGB and (0.7176470588235294 0.5176470588235294 0.6549019607843137) In Torque. Of course there is no need to be so specific so you can just round it to (0.7 0.5 0.7).

Never come across the system before, no. :o

 Thanks for the explanation. c: