siwa_water too bright...


(retredmadcat) #1

hey, me again…

im working on a sewer-tunnel in my map, and its quite dark down there… ive put some light etc and it looks cool now :smiley:

BUT now i have put water in … (liquids_sd/siwa_water)
but its WAY too bright :???:

does anybody have any darker water? or a way to make it darker? the siwa_water texture itself is very dark already :bored:


(Shaderman) #2

Try this one:

textures/shaderman/water
{
	qer_editorimage textures/liquids_sd/sea_bright_na.tga
	qer_trans .5
	q3map_globaltexture

	surfaceparm water
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm lightfilter
	surfaceparm fog
	fogparms ( .5 .5 .5 ) 4096

	tessSize 256
	nocompress
	cull disable

	{
		map textures/liquids_sd/sea_bright_na.tga
		rgbGen identity
		blendFunc blend
		alphaGen const 0.7
		depthWrite
		tcmod scale .5 .5
		tcmod turb 0 0.01 0 0.15 
	}
}

(retredmadcat) #3

thnx for that, but i dont think the last part of the shader script is running… (or its simply not working)

i changed the first line to :
textures/liquids_sd/sea_bright_na.tga

because i got a texture not found yellowblack thing when i first tried it…

when i changed it it had the right texture (and it looked ok, thnx :slight_smile: ) and it had water properties, nonsolid etc, BUT it wasnt moving (tcmod turb 0 0.01 0 0.15 makes it move i think?) or wasnt semi-transparent or anything… it was just a solid block of frozen sea water :frowning:

did i mess it up with changing the first line? or is there something wrong with the shader itself?


(Shaderman) #4

I think you are using the texture instead of the sahder now :slight_smile: The shader should work without any modification. Did you use textures/common/nodrawwater for the other sides of the brush?