Need RGB values for turquoise-colored water
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Need RGB values for turquoise-colored water
In ZDooM, it's possible to get turquoise-colored (under)water by assigning the value 80008080 to the lower texture of the sidedef that is used for the Transfer_Height special. In GZDooM, the only way that I know of getting underwater color is by using Sector_SetColor (and Sector_SetFade as an option) on the control sector. What is the RGB equivalent of 80008080? (I've been trying different combinations, but I can't get exactly what I need. I think I've used it in some of my very early ZDooM projects, but I don't recall which ones.)
And while I'm at it, what are the RGB values for grey-colored water?
[EDIT: I meant to say GZDooM in my second sentence, not ZDooM.]
And while I'm at it, what are the RGB values for grey-colored water?
[EDIT: I meant to say GZDooM in my second sentence, not ZDooM.]
Last edited by ReX on Sun Sep 28, 2008 8:53 am, edited 1 time in total.
-
- Posts: 3975
- Joined: Fri Jul 06, 2007 9:16 am
Re: Need RGB values for turquoise-colored water
Turqoise: 00FFA0, Red: 0, Green: 255, Blue: 160
Gray: 808080, Red: 128, Green: 128, Blue: 128 (Gray is really just dark white)
If you need any other shade or any other color, let me know. You can shift it more towards blue by increasing the blue value, and more towards green by decreasing the blue value.
Gray: 808080, Red: 128, Green: 128, Blue: 128 (Gray is really just dark white)
If you need any other shade or any other color, let me know. You can shift it more towards blue by increasing the blue value, and more towards green by decreasing the blue value.
Re: Need RGB values for turquoise-colored water
Or bright black.SoulPriestess wrote:Gray: 808080, Red: 128, Green: 128, Blue: 128 (Gray is really just dark white)

Re: Need RGB values for turquoise-colored water
Many thanks to all of you.
The colors & fade properties I ended up using are:
The turquoise color & fade aren't quite the same as I get with using 80008080 in ZDooM, but it'll do for now.
The colors & fade properties I ended up using are:
Code: Select all
Sector_SetColor(192, 175, 238, 238); //Underwater color (turquise) in water treatment area
Sector_SetFade(192, 64, 64, 64); //Underwater color in water treatment area
Sector_SetColor(193, 176, 176, 176); //Underwater color (grey) in water treatment area
Sector_SetFade(193, 64, 64, 64); //Underwater color in water treatment area
Re: Need RGB values for turquoise-colored water
By the way, I'm confused:

You're contrasting ZDoom with ZDoom? ZDoom doesn't work like ZDoom does? The only way of doing something in ZDoom is different from how it's done in ZDoom?ReX wrote:In ZDooM, it's possible to get turquoise-colored (under)water by assigning the value 80008080 to the lower texture of the sidedef that is used for the Transfer_Height special. In ZDooM, the only way that I know of getting underwater color is by using Sector_SetColor (and Sector_SetFade as an option) on the control sector.

- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Need RGB values for turquoise-colored water
ReX wrote:Many thanks to all of you.
The colors & fade properties I ended up using are:The turquoise color & fade aren't quite the same as I get with using 80008080 in ZDooM, but it'll do for now.Code: Select all
Sector_SetColor(192, 175, 238, 238); //Underwater color (turquise) in water treatment area Sector_SetFade(192, 64, 64, 64); //Underwater color in water treatment area Sector_SetColor(193, 176, 176, 176); //Underwater color (grey) in water treatment area Sector_SetFade(193, 64, 64, 64); //Underwater color in water treatment area
80008080 is simply 0,128,128 with a translucency of 50%.
Re: Need RGB values for turquoise-colored water
I got a program on Softpedia called RGB Calculator. Drag the sliders until you make the color you want.
It's a handy thing to have.
It's a handy thing to have.

- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: Need RGB values for turquoise-colored water
(from TransferHeights)wiki wrote:Zdoom supports the internal name "WATERMAP". If you place this on your linedef instead of a blend value, Zdoom will create a blend of the value "80004FA5" which is a nice misty underwater blue.
I'm not sure if that's what you meant, but it's the first thing that came to mind when I read your post...
I assume this means the following values:
- alpha = 128
red = 0
green = 79
blue = 165
edit - reading your post again I see that that's probably not what you meant, nevermind =p
Re: Need RGB values for turquoise-colored water
How can I achieve this as a special in an OPEN script? I.e., how do I introduce translucency in the special (or in another special)? The wiki didn't help.Graf Zahl wrote:80008080 is simply 0,128,128 with a translucency of 50%.
Re: Need RGB values for turquoise-colored water
Apologies for bumping this old thread, but I still haven't been able to resolve this problem. I've even asked the question in the GZDooM Forums, but there hasn't been an answer.ReX wrote:How can I achieve this as a special in an OPEN script? I.e., how do I introduce translucency in the special (or in another special)? The wiki didn't help.Graf Zahl wrote:80008080 is simply 0,128,128 with a translucency of 50%.
Surely someone has created underwater sectors in GZDooM with turquoise-colored water?
-
- Posts: 3975
- Joined: Fri Jul 06, 2007 9:16 am
Re: Need RGB values for turquoise-colored water
Yeah, I have, there's some in this resource here:
http://forum.zdoom.org/viewtopic.php?f= ... sd=a&hilit
http://forum.zdoom.org/viewtopic.php?f= ... sd=a&hilit
Re: Need RGB values for turquoise-colored water
Thanks, Capt. I played the wad and opened it in a couple of editors to see what you had done. While it is a fine example of underwater lighting, it still doesn't solve my problem, for the following reasons:CaptainToenail wrote:Yeah, I have, there's some in this resource here:
http://forum.zdoom.org/viewtopic.php?f= ... sd=a&hilit
- 1. The underwater lighting is too bright, as pointed out by Ceeb. In other words the color may be a turquoise but it is a very faded version because of the lighting effects. I want a straightforward underwater turquoise color with translucency.
2. You have used a colorized texture (flat) for the floor and walls of the control sector. I don't want to create any new textures or flats if possible, and simply want to make the underwater sector translucent with the turquoise color.